mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Merge branch 'wip/pwithnall/datetime-non-literal-null-conversion' into 'main'
gdatetime: Fix string type used to initialise array See merge request GNOME/glib!4024
This commit is contained in:
commit
202188c5bf
@ -3104,7 +3104,7 @@ format_number (GString *str,
|
|||||||
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
|
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
|
||||||
};
|
};
|
||||||
const gchar * const *digits = ascii_digits;
|
const gchar * const *digits = ascii_digits;
|
||||||
const gchar *tmp[10] = { '\0', };
|
const gchar *tmp[10] = { NULL, };
|
||||||
gint i = 0;
|
gint i = 0;
|
||||||
#ifdef HAVE_LANGINFO_OUTDIGIT
|
#ifdef HAVE_LANGINFO_OUTDIGIT
|
||||||
static GMutex alt_digits_mutex;
|
static GMutex alt_digits_mutex;
|
||||||
|
Loading…
Reference in New Issue
Block a user