Revision 8076670c76ed171ce5bc373a596dfd98c5458d91

Stu Tomlinson stu at nosnilmot.com
Mon Jun 11 13:50:51 EDT 2007


On Mon, 2007-06-11 at 12:34 -0500, Richard Laager wrote:
> that gsize was not size_t, but apparently it is, in
> glib 2. That said, G_GSIZE_FORMAT is only in glib 2.6+. Apparently we
> could use %zu, but that's non-standard? I think it might be best to keep
> the old code for glib < 2.6 and say good enough and then use the fixed
> code for new enough glib.

Take a look at internal.h (look for "ugly ugly ugly" :)

> Also, wouldn't we want to remove the "(unsigned long)" cast on those two
> function calls?

They're gone.

Regards,


Stu.




More information about the Devel mailing list