Explicitly cast a l_ulong to an unsigned long to make all arch's happy
with the printf format.
This commit is contained in:
parent
ecf889825d
commit
20b04da89c
@ -878,7 +878,7 @@ linux_personality(struct thread *td, struct linux_personality_args *args)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
if (ldebug(personality))
|
||||
printf(ARGS(personality, "%ld"), args->per);
|
||||
printf(ARGS(personality, "%lu"), (unsigned long)args->per);
|
||||
#endif
|
||||
#ifndef __alpha__
|
||||
if (args->per != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user