mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
printf: handle unsigned modifier for long long
Otherwise, an unsigned integer will be displayed as a signed one if we use internal print, ie HAVE_LONG_LONG_FORMAT is not defined. https://bugzilla.gnome.org/show_bug.cgi?id=746096
This commit is contained in:
parent
ad161f7df5
commit
3da3e8df3e
1 changed files with 5 additions and 0 deletions
|
@ -121,6 +121,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 a new issue