From cdd23c3bd0b43e025a891addb0ec76c528d9d208 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 15 Jun 2011 19:27:01 +0000 Subject: [PATCH] See if this squelches some compiler warnings. svn path=/trunk/; revision=37670 --- tshark.c | 4 ++-- 1 file 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