aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-06-15 19:27:01 +0000
committerGuy Harris <guy@alum.mit.edu>2011-06-15 19:27:01 +0000
commitcdd23c3bd0b43e025a891addb0ec76c528d9d208 (patch)
tree8307037b613b7dd550048401a9943e30e4572338 /tshark.c
parentf783d2d90415da1df384b704b447cfa134a3d6db (diff)
See if this squelches some compiler warnings.
svn path=/trunk/; revision=37670
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tshark.c b/tshark.c
index bcf1e726e6..df50bc44f0 100644
--- a/tshark.c
+++ b/tshark.c
@@ -193,8 +193,8 @@ struct string_elem {
static gint
string_compare(gconstpointer a, gconstpointer b)
{
- return strcmp(((struct string_elem *)a)->sstr,
- ((struct string_elem *)b)->sstr);
+ return strcmp(((const struct string_elem *)a)->sstr,
+ ((const struct string_elem *)b)->sstr);
}
static void