Re: Problems printing 64-bit integers i glib 2.4.8

2004-12-14 Thread Owen Taylor
On Tue, 2004-12-14 at 19:09 +0100, Egon Andersen wrote: > Owen Taylor wrote: > > 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 foll

Re: Problems printing 64-bit integers i glib 2.4.8

2004-12-14 Thread Egon Andersen
Owen Taylor wrote: 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 */ ...

Re: Problems printing 64-bit integers i glib 2.4.8

2004-12-14 Thread Owen Taylor
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 */

Problems printing 64-bit integers i glib 2.4.8

2004-12-13 Thread Egon Andersen
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); string is assigend N