mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +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,3 +1,9 @@
|
|||||||
|
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).
|
||||||
|
|
||||||
2008-01-15 Robert Millan <rmh@aybabtu.com>
|
2008-01-15 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* include/grub/ieee1275/ieee1275.h
|
* include/grub/ieee1275/ieee1275.h
|
||||||
|
|||||||
+1
-1
@@ -768,7 +768,7 @@ grub_vsprintf (char *str, const char *fmt, va_list args)
|
|||||||
case 'p':
|
case 'p':
|
||||||
write_str ("0x");
|
write_str ("0x");
|
||||||
c = 'x';
|
c = 'x';
|
||||||
longlongfmt = (sizeof (void *) == sizeof (long long));
|
longlongfmt |= (sizeof (void *) == sizeof (long long));
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case 'x':
|
case 'x':
|
||||||
case 'u':
|
case 'u':
|
||||||
|
|||||||
Reference in new issue
Block a user