Fix improper handling of 64 bit types for libvsprintf
This commit is contained in:
parent
0dedbcd4ae
commit
e2627d4558
1 changed files with 4 additions and 4 deletions
|
@ -407,16 +407,16 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
|
|||
c = 'h';
|
||||
break;
|
||||
|
||||
case sizeof(unsigned long):
|
||||
c = 'l';
|
||||
break;
|
||||
|
||||
#if defined(CONFIG_HAVE_LONG_LONG) && ULLONG_MAX != ULONG_MAX
|
||||
case sizeof(unsigned long long):
|
||||
c = 'l';
|
||||
flags |= FL_LONG;
|
||||
flags &= ~FL_SHORT;
|
||||
break;
|
||||
#else
|
||||
case sizeof(unsigned long):
|
||||
c = 'l';
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue