Try to fix:
value_string.c(175) : warning C4244: '=' : conversion from '__int64' to 'gint', possible loss of data svn path=/trunk/; revision=36931
This commit is contained in:
parent
1ea1e9fef2
commit
6aa7c2d371
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue