From 6aa7c2d371f580295d4cc64f022186c00926e510 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Thu, 28 Apr 2011 11:53:29 +0000 Subject: [PATCH] Try to fix: value_string.c(175) : warning C4244: '=' : conversion from '__int64' to 'gint', possible loss of data svn path=/trunk/; revision=36931 --- epan/value_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/value_string.c b/epan/value_string.c index 7942b106f4..ae28822e85 100644 --- a/epan/value_string.c +++ b/epan/value_string.c @@ -172,7 +172,7 @@ match_strval_idx_ext(const guint32 val, value_string_ext *vse, gint *idx) { if (vse) { const value_string *vs = vse->_vs_match2(val, vse); if (vs) { - *idx = (vs - vse->_vs_p); + *idx = (gint) (vs - vse->_vs_p); return vs->strptr; } }