git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a22f13
)
Cast away a compile warning: "conversion from '__int64' to 'gulong', possible loss...
author
Bill Meier
<wmeier@newsguy.com>
Sun, 29 Jul 2012 19:00:46 +0000
(19:00 -0000)
committer
Bill Meier
<wmeier@newsguy.com>
Sun, 29 Jul 2012 19:00:46 +0000
(19:00 -0000)
svn path=/trunk/; revision=44112
epan/dissectors/packet-nfs.c
patch
|
blob
|
history
diff --git
a/epan/dissectors/packet-nfs.c
b/epan/dissectors/packet-nfs.c
index 6b4912744a684914e5847c1d8523c49125dae3d7..8f83b315418f3755292c557890ab8755e13aeb4c 100644
(file)
--- a/
epan/dissectors/packet-nfs.c
+++ b/
epan/dissectors/packet-nfs.c
@@
-1106,7
+1106,7
@@
nfs_full_name_snoop(nfs_name_snoop_t *nns, int *len, char **name, char **pos)
nfs_full_name_snoop(parent_nns, len, name, pos);
if(*name){
/* make sure components are '/' separated */
-
*pos += g_snprintf(*pos, (*len+1) - (*pos-*name
), "%s%s", ((*pos)[-1]!='/')?"/":"", nns->name);
+
*pos += g_snprintf(*pos, (*len+1) - (gulong)(*pos-*name)
), "%s%s", ((*pos)[-1]!='/')?"/":"", nns->name);
g_assert((*pos-*name) <= *len);
}
return;