forked from xuos/xiuos
Treat warning as error.
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
#include <string.h>
|
||||
#include <xs_ktask.h>
|
||||
#include <xs_service.h>
|
||||
#include <xs_sem.h>
|
||||
#include <xs_memory.h>
|
||||
#include <xs_mutex.h>
|
||||
|
||||
#ifdef FS_VFS
|
||||
#include <iot-vfs_posix.h>
|
||||
|
||||
@@ -502,7 +502,7 @@ int VsnPrintf(char *buf, int32 size, const char *fmt, va_list args)
|
||||
/* Determine the machine word length */
|
||||
#ifdef ARCH_CPU_64BIT
|
||||
if(sizeof(long) == sizeof(long long))
|
||||
pointer = LonglongToChar(buf, (unsigned long long)va_arg(args, void*), flags, precision, 16, width, 0, pointer, size);
|
||||
pointer = (long)LonglongToChar(buf, (unsigned long)va_arg(args, void*), flags, precision, 16, width, 0, pointer, size);
|
||||
else
|
||||
#endif
|
||||
pointer = LongToChar(buf, (unsigned long)va_arg(args, void*), flags, precision, 16, width, 0, pointer, size);
|
||||
|
||||
Reference in New Issue
Block a user