Re: Problems printing 64-bit integers i glib 2.4.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2004-12-14 at 15:28 +0100, Egon Andersen wrote:
> Hi,
> 
> I've experienced problems with g_strdup_printf() in glib 2.4.8 when I 
> try to print 64-bit integers on Windows.
> 
> I have the following line in my code:
> 
> intmax_t se_nr; /* ISO-C99 */
> ...
> se_nr = ... /* e.g. 12345678 */
> ...
> string = g_strdup_printf("%08"PRIdMAX"admin", se_nr);
                                ^^^^^^^
                               What's that? 

If you use gint64 and G_GINT64_FORMAT does it work?

Regards,
						Owen

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux