mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-03 22:59:39 +02:00
win32: misc warning fixes
https://bugzilla.gnome.org/show_bug.cgi?id=688109
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user