summaryrefslogtreecommitdiff
path: root/epan/strutil.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-04-08 16:50:20 +0000
committerGerald Combs <gerald@wireshark.org>2009-04-08 16:50:20 +0000
commitf0eeb0bdf1a1a5a88519352e3a0370a27f213155 (patch)
tree15325b933e4eb752c5cb0ad428a0be5cda8f1776 /epan/strutil.c
parent642e4a3e36f3334db0b7f5317941f91dde8645f4 (diff)
downloadwireshark-f0eeb0bdf1a1a5a88519352e3a0370a27f213155.tar.gz
More size_t fixes. Use a string buffer in range.c.
svn path=/trunk/; revision=27999
Diffstat (limited to 'epan/strutil.c')
-rw-r--r--epan/strutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/strutil.c b/epan/strutil.c
index 351a792946..1b952443b9 100644
--- a/epan/strutil.c
+++ b/epan/strutil.c
@@ -126,7 +126,7 @@ get_token_len(const guchar *linep, const guchar *lineend,
*/
while (linep < lineend && *linep != ' ' && *linep != '\r' && *linep != '\n')
linep++;
- token_len = linep - tokenp;
+ token_len = (int) (linep - tokenp);
/*
* Skip trailing blanks.