win32: misc warning fixes

https://bugzilla.gnome.org/show_bug.cgi?id=688109
This commit is contained in:
Dan Winship
2012-11-10 10:58:19 -05:00
parent f248c86b0a
commit b8c13a01b6
25 changed files with 81 additions and 80 deletions

View File

@@ -2302,7 +2302,7 @@ g_date_time_format_locale (GDateTime *datetime,
alt_digits = TRUE;
goto next_mod;
case 'p':
ampm = GET_AMPM (datetime);
ampm = (gchar *) GET_AMPM (datetime);
if (!locale_is_utf8)
{
ampm = tmp = g_locale_to_utf8 (ampm, -1, NULL, NULL, NULL);
@@ -2323,7 +2323,7 @@ g_date_time_format_locale (GDateTime *datetime,
g_free (ampm);
break;
case 'P':
ampm = GET_AMPM (datetime);
ampm = (gchar *) GET_AMPM (datetime);
if (!locale_is_utf8)
{
ampm = tmp = g_locale_to_utf8 (ampm, -1, NULL, NULL, NULL);