[cairo] cairo-path-fixed.c: warning: comparison between signed
and unsigned
Behdad Esfahbod
behdad at behdad.org
Wed Mar 21 07:42:13 PDT 2007
On Wed, 2007-03-21 at 00:02 -0400, Jeff Smith wrote:
> > cairo-output-stream.c:309: warning: ignoring return value of 'strtol',
> > declared with attribute warn_unused_result
>
> > I thought casting to void will fix it, but it doesn't. Assigning the
> > return value to a variable causes an unused-variable warning.
>
> Since it's just eating characters (more specifically digits), the attached
> patch should take care of it
Thanks. Committed.
> -- Jeff Smith
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
More information about the cairo
mailing list