diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-03-30 03:40:12 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-03-30 03:40:12 +0000 |
commit | 2c74073079162b8248cb5b26144c80f919dcf99a (patch) | |
tree | 81755eb76d351845b6e708ba8c7ebcb609716a24 /epan/strutil.h | |
parent | 808a4e2c3c5d80d6451ed8cce85e302d96225437 (diff) | |
download | wireshark-2c74073079162b8248cb5b26144c80f919dcf99a.tar.gz wireshark-2c74073079162b8248cb5b26144c80f919dcf99a.tar.bz2 wireshark-2c74073079162b8248cb5b26144c80f919dcf99a.zip |
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.h | 4 |
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. * |