aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-etch.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-07-15 21:22:34 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-07-15 21:22:34 +0000
commit1c19a0d61e659c32fe216161e4ac9094deadd11a (patch)
treeb305c6a83c115329b8beea64e947557d416cadb6 /epan/dissectors/packet-etch.c
parentf5f20fa8e366be6a24944f48f2cbcdbccee0b6e3 (diff)
Fix warnings: format '%blah' expects argument of type 'foo', but argument 'i' has type 'bar' [-Wformat].
svn path=/trunk/; revision=50639
Diffstat (limited to 'epan/dissectors/packet-etch.c')
-rw-r--r--epan/dissectors/packet-etch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-etch.c b/epan/dissectors/packet-etch.c
index 3a71fc9453..f3396f70a0 100644
--- a/epan/dissectors/packet-etch.c
+++ b/epan/dissectors/packet-etch.c
@@ -200,7 +200,7 @@ gbl_symbols_free(void)
}
static void
-gbl_symbols_array_append(int hash, gchar *symbol)
+gbl_symbols_array_append(guint32 hash, gchar *symbol)
{
value_string vs = {hash, symbol};
DISSECTOR_ASSERT(gbl_symbols_array != NULL);
@@ -292,7 +292,7 @@ add_symbols_of_file(const char *filename)
if (pFile != NULL) {
char line[256];
while (fgets(line, sizeof line, pFile) != NULL) {
- int hash;
+ unsigned int hash;
size_t length, pos;
length = strlen(line);