# HG changeset patch # User Evan Schoenberg # Date 1153421666 0 # Node ID e757e5d0484658e887cd12b8c0fc11b887b1e3bc # Parent 9c0885611b2744b310de41f16a92ecfad96456bd [gaim-migrate @ 16532] On my system and in all the documentation I can find, the tm_zone field of the tm struct, if present, is a (char *), not a (const char *). This fixes two (harmless) compilation warnings resulting from the cast to (const char *). committer: Tailor Script diff -r 9c0885611b27 -r e757e5d04846 src/log.c --- a/src/log.c Thu Jul 20 18:32:09 2006 +0000 +++ b/src/log.c Thu Jul 20 18:54:26 2006 +0000 @@ -107,10 +107,10 @@ { char *tmp = g_locale_from_utf8(log->tm->tm_zone, -1, NULL, NULL, NULL); if (tmp != NULL) - log->tm->tm_zone = (const char *)tmp; + log->tm->tm_zone = tmp; else /* Just shove the UTF-8 bytes in and hope... */ - log->tm->tm_zone = (const char *)g_strdup(log->tm->tm_zone); + log->tm->tm_zone = (char *)g_strdup(log->tm->tm_zone); } #endif }