Bug 2328 - last gcc4 warning in cairo
Summary: last gcc4 warning in cairo
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 0.9.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 07:35 UTC by ellson
Modified: 2005-08-22 00:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
change size_t* to int* in _utf8_to_ucs4 (343 bytes, patch)
2005-01-19 07:39 UTC, ellson
Details | Splinter Review

Description ellson 2005-01-19 07:35:12 UTC
cairo_ft_font.c: In function `_cairo_ft_font_text_to_glyphs':
cairo_ft_font.c:562: warning: passing arg 3 of `_utf8_to_ucs4' from incompatible
pointer type

Caused by passing int* into size_t*

Suggested fix, change size_t* to int* in _utf8_to_ucs4
patch to follow

This is the only remaining warning from gcc4.  Congrats :-)
Comment 1 ellson 2005-01-19 07:39:56 UTC
Created attachment 1716 [details] [review]
change size_t* to int* in _utf8_to_ucs4
Comment 2 Carl Worth 2005-01-19 11:42:25 UTC
Thanks again John.

I've committed this patch.
Comment 3 Carl Worth 2005-08-22 17:15:14 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.