Bug 2328

Summary: last gcc4 warning in cairo
Product: cairo Reporter: ellson
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: jwatt
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: change size_t* to int* in _utf8_to_ucs4

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.