mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
gnulib/vasprintf: handle unsigned modifier for long long
Otherwise, an unsigned integer will be displayed as a signed one if we use internal printf and if HAVE_LONG_LONG_FORMAT is not defined. https://bugzilla.gnome.org/show_bug.cgi?id=743936
This commit is contained in:
parent
c1b0f178ca
commit
5b74681f5b
@ -123,6 +123,11 @@ print_long_long (char *buf,
|
||||
digits = upper;
|
||||
negative = FALSE;
|
||||
break;
|
||||
case 'u':
|
||||
base = 10;
|
||||
digits = lower;
|
||||
negative = FALSE;
|
||||
break;
|
||||
default:
|
||||
base = 10;
|
||||
digits = lower;
|
||||
|
Loading…
Reference in New Issue
Block a user