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:
parent
66a6580720
commit
d1bc1b738c
2 changed files with 7 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue