Skip to content

Commit

Permalink
Merge branch 'wip/pwithnall/datetime-non-literal-null-conversion' int…
Browse files Browse the repository at this point in the history
…o 'main'

gdatetime: Fix string type used to initialise array

See merge request GNOME/glib!4024
  • Loading branch information
mcatanzaro committed Apr 26, 2024
2 parents 640ff0c + e12e81a commit 202188c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glib/gdatetime.c
Original file line number Diff line number Diff line change
Expand Up @@ -3104,7 +3104,7 @@ format_number (GString *str,
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
};
const gchar * const *digits = ascii_digits;
const gchar *tmp[10] = { '\0', };
const gchar *tmp[10] = { NULL, };
gint i = 0;
#ifdef HAVE_LANGINFO_OUTDIGIT
static GMutex alt_digits_mutex;
Expand Down

0 comments on commit 202188c

Please sign in to comment.