diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-10-18 18:37:07 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-10-18 18:37:07 +0000 |
commit | be1a3f5a7ecd39543682326087e748cb5ef2c31f (patch) | |
tree | 489bfe41e926e88d54c9a644e6897acac4d7f327 /epan/dissectors/packet-etch.c | |
parent | 8832221ca4e83ba25b5c50d7c8e9fd98e9079329 (diff) |
Try to fix compile errors on 64 bit systems.
svn path=/trunk/; revision=34561
Diffstat (limited to 'epan/dissectors/packet-etch.c')
-rw-r--r-- | epan/dissectors/packet-etch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-etch.c b/epan/dissectors/packet-etch.c index ced86a4758..f2fedc7b60 100644 --- a/epan/dissectors/packet-etch.c +++ b/epan/dissectors/packet-etch.c @@ -262,7 +262,9 @@ static void add_symbols_of_file(const char *filename) if (pFile != NULL) { char line[256]; while (fgets(line, sizeof line, pFile) != NULL) { - int length, pos, hash; + int hash; + size_t length, pos; + length = strlen(line); /* Must at least have a hash, else skip line */ |