diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-07-29 19:00:46 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-07-29 19:00:46 +0000 |
commit | 3933d7591bc9d8347357a7c29c8ec22050333fe5 (patch) | |
tree | 3abb3aa643225a707fe2cc49e8f2eb8081f4726b | |
parent | 7a22f13aa024cddb24f4063721e2d1a22ae9a362 (diff) | |
download | wireshark-3933d7591bc9d8347357a7c29c8ec22050333fe5.tar.gz |
Cast away a compile warning: "conversion from '__int64' to 'gulong', possible loss of data"
svn path=/trunk/; revision=44112
-rw-r--r-- | epan/dissectors/packet-nfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c index 6b4912744a..8f83b31541 100644 --- 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; |