diff options
author | Bill Meier <wmeier@newsguy.com> | 2009-03-22 20:55:31 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2009-03-22 20:55:31 +0000 |
commit | d6a5a7c761ef10390ff79d8bd39a461813112290 (patch) | |
tree | 70c7600431ace9c6831016767308c26e2f52fbfd /epan/dissectors/packet-fcswils.c | |
parent | 2f6fe511f3638c25630f4d00ea54e86edf91170b (diff) |
P64 changes: Fix some cases for which size_t is not required
svn path=/trunk/; revision=27822
Diffstat (limited to 'epan/dissectors/packet-fcswils.c')
-rw-r--r-- | epan/dissectors/packet-fcswils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcswils.c b/epan/dissectors/packet-fcswils.c index c9584e9c98..aa9f29d25b 100644 --- a/epan/dissectors/packet-fcswils.c +++ b/epan/dissectors/packet-fcswils.c @@ -772,11 +772,10 @@ dissect_swils_elp (tvbuff_t *tvb, proto_tree *elp_tree, guint8 isreq _U_) if (elp.cls1_svcparm[0] & 0x80) { #define MAX_FLAGS_LEN 40 char *flagsbuf; - size_t stroff, returned_length; + gint stroff, returned_length; flagsbuf=ep_alloc(MAX_FLAGS_LEN); stroff = 0; - flagsbuf[stroff]=0; returned_length = g_snprintf (flagsbuf+stroff, MAX_FLAGS_LEN-stroff, "Class 1 Valid"); |