diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-22 20:55:31 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-03-22 20:55:31 +0000 |
commit | 5635e93196698102cf37cb91b6690dcc66471f47 (patch) | |
tree | 70c7600431ace9c6831016767308c26e2f52fbfd /epan/dissectors/packet-windows-common.c | |
parent | f5f8a16e5b3df012bcb5a355b0b2c5cef5d2a30d (diff) |
P64 changes: Fix some cases for which size_t is not required
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27822 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-windows-common.c')
-rw-r--r-- | epan/dissectors/packet-windows-common.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-windows-common.c b/epan/dissectors/packet-windows-common.c index 701a581098..c84a0ef334 100644 --- a/epan/dissectors/packet-windows-common.c +++ b/epan/dissectors/packet-windows-common.c @@ -1388,8 +1388,8 @@ dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree, char *str; char *sid_string; char *sid_name; - size_t returned_length; - unsigned long str_index;; + gint returned_length; + gint str_index;; if(sid_str){ @@ -1428,7 +1428,6 @@ dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree, str = ep_alloc(MAX_STR_LEN); str_index = 0; - str[str_index]=0; /* sub authorities, leave RID to last */ for(i=0; i < (num_auth > 4?(num_auth - 1):num_auth); i++){ |