aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pvfs2.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-14 07:58:18 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-14 07:58:18 +0000
commit8b2aced72c505ec621386666e67e46ce8d183034 (patch)
tree91b724aed985457e617c69515eb9ceb7f994e2b2 /epan/dissectors/packet-pvfs2.c
parentaaeb6a467b596375406c0bd5171cc7f300dbb5eb (diff)
Glib, gotta love it. No, gusize isn't the same as size_t, it's long,
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
Diffstat (limited to 'epan/dissectors/packet-pvfs2.c')
-rw-r--r--epan/dissectors/packet-pvfs2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-pvfs2.c b/epan/dissectors/packet-pvfs2.c
index 2a7cfe38e6..d8aac79f16 100644
--- a/epan/dissectors/packet-pvfs2.c
+++ b/epan/dissectors/packet-pvfs2.c
@@ -899,7 +899,7 @@ dissect_pvfs_opaque_data(tvbuff_t *tvb, int offset,
/* 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