aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-12-26 13:41:30 +0000
committerEvan Huus <eapache@gmail.com>2012-12-26 13:41:30 +0000
commitc2945ff831a1587e3e18cd8b9c297d20b171e55a (patch)
treea0f21dac4f4161ca669967737b28fba23cc0f756 /wsutil
parent1fafe099ab2a54349f706630f36e27274f4682b9 (diff)
Squash some sign-conversion warnings that g++ picks up but gcc does
not. QtShark now builds warning-free (for me at least). svn path=/trunk/; revision=46786
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/str_util.c2
-rw-r--r--wsutil/str_util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/str_util.c b/wsutil/str_util.c
index 42934597e3..9f8cac5320 100644
--- a/wsutil/str_util.c
+++ b/wsutil/str_util.c
@@ -55,7 +55,7 @@ ascii_strup_inplace(gchar *str)
/* Check if an entire string is printable. */
gboolean
-isprint_string(const guchar *str)
+isprint_string(const gchar *str)
{
guint pos;
diff --git a/wsutil/str_util.h b/wsutil/str_util.h
index 10d7e9025c..7fc189b0cc 100644
--- a/wsutil/str_util.h
+++ b/wsutil/str_util.h
@@ -68,7 +68,7 @@ gchar *ascii_strup_inplace(gchar *str);
* @param str The string to be checked
* @return TRUE if the entire string is printable, otherwise FALSE
*/
-gboolean isprint_string(const guchar *string);
+gboolean isprint_string(const gchar *string);
/** Check if an entire string consists of digits
*