which is Too Damn Short on Windows. (Microsoft, gotta love 'em. I
guess even more Windows programmers than UN*X programmers thought long
was 32 bits, now and forever, world without end, amen.)
svn path=/trunk/; revision=54771
/* alloc maximum data area */
string_buffer_temp = (char*) wmem_alloc(wmem_packet_scope(), string_buffer_size);
/* copy over the data */
- g_snprintf(string_buffer_temp, string_buffer_size,
+ g_snprintf(string_buffer_temp, (gusize)string_buffer_size,
"%s<TRUNCATED>", formatted);
/* append <TRUNCATED> */
/* This way, we get the TRUNCATED even