forked from osmocom/wireshark
Fix x64 compilation warning
The build warning: C:/buildbot/wireshark/wireshark-master-64/win7x64/build/cmbuild/epan/uat_load.c(1348): warning C4267: '+=' : conversion from 'size_t' to 'guint', possible loss of data is caused by parse_str_pos being a guint and adding a size_t value. Fix by declaring parse_str_pos as size_t. Change-Id: I0e33ea710abeb0ea23d816f35bc3eda8d9b13e60 Reviewed-on: https://code.wireshark.org/review/8198 Petri-Dish: Graham Bloice <graham.bloice@trihedral.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
This commit is contained in:
parent
af11fde75d
commit
f9e7fd5898
|
@ -75,7 +75,7 @@ static gchar* error;
|
|||
static void* record;
|
||||
static guint linenum;
|
||||
static gchar *parse_str;
|
||||
static guint parse_str_pos;
|
||||
static size_t parse_str_pos;
|
||||
|
||||
#define ERROR(fmtd) do { \
|
||||
char* fmt_str = g_strdup_printf fmtd; \
|
||||
|
|
Loading…
Reference in New Issue