aboutsummaryrefslogtreecommitdiffstats
path: root/epan/strutil.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-03-30 03:40:12 +0000
committerGerald Combs <gerald@wireshark.org>2009-03-30 03:40:12 +0000
commit2c74073079162b8248cb5b26144c80f919dcf99a (patch)
tree81755eb76d351845b6e708ba8c7ebcb609716a24 /epan/strutil.h
parent808a4e2c3c5d80d6451ed8cce85e302d96225437 (diff)
Add a couple of size_t casts to packet-dnp.c.
Make the length arguments of format_text() and format_text_wsp() size_t's, since it's natural to use strlen() for that. svn path=/trunk/; revision=27891
Diffstat (limited to 'epan/strutil.h')
-rw-r--r--epan/strutil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/strutil.h b/epan/strutil.h
index 3499afc59f..4ee9b22025 100644
--- a/epan/strutil.h
+++ b/epan/strutil.h
@@ -62,9 +62,9 @@ int get_token_len(const guchar *linep, const guchar *lineend,
*
* @see tvb_format_text()
*/
-gchar* format_text(const guchar *line, int len);
+gchar* format_text(const guchar *line, size_t len);
-gchar* format_text_wsp(const guchar *line, int len);
+gchar* format_text_wsp(const guchar *line, size_t len);
/** Turn an array of bytes into a string showing the bytes in hex.
*