mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
2008-01-15 Robert Millan <rmh@aybabtu.com>
* kern/misc.c (grub_vsprintf): Do not reset `longlongfmt' to zero
when pointers are 32-bit (but still do set it to one when they are
64-bit).
This commit is contained in:
1 parent
66a6580720
commit
d1bc1b738c
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -768,7 +768,7 @@ grub_vsprintf (char *str, const char *fmt, va_list args)
|
||||
case 'p':
|
||||
write_str ("0x");
|
||||
c = 'x';
|
||||
longlongfmt = (sizeof (void *) == sizeof (long long));
|
||||
longlongfmt |= (sizeof (void *) == sizeof (long long));
|
||||
/* fall through */
|
||||
case 'x':
|
||||
case 'u':
|
||||
|
||||
Reference in new issue
Block a user