Fix a GCC error.
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 1 Dec 2010 02:18:01 +0000 (02:18 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 1 Dec 2010 02:18:01 +0000 (02:18 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35087 f5534014-38df-0310-8fa8-9805f1628bb7

epan/to_str.c

index c16c60bafd9eae2b18a35b594532d62eaeaba490..b119c1117a46eeb14f25e4c707fd5e4c063a08df 100644 (file)
@@ -472,7 +472,7 @@ static const char *mon_names[12] = {
        "Dec"
 };
 
-static gchar *get_zonename(struct tm *tmp) {
+static const gchar *get_zonename(struct tm *tmp) {
 #if defined(HAVE_TM_ZONE)
        return tmp->tm_zone;
 #else