diff --git a/RTL00_SDKV35a/component/common/api/platform/platform_stdlib.h b/RTL00_SDKV35a/component/common/api/platform/platform_stdlib.h index f0b817e..bcf5235 100644 --- a/RTL00_SDKV35a/component/common/api/platform/platform_stdlib.h +++ b/RTL00_SDKV35a/component/common/api/platform/platform_stdlib.h @@ -85,8 +85,8 @@ extern char* DiagStrtokPatch(char *str, const char* delim); extern char* DiagStrstrPatch(char *string, char *substring); extern int DiagSnPrintfPatch(char *buf, size_t size, const char *fmt, ...); - extern u32 DiagPrintfPatch(const char *fmt, ...); - extern u32 DiagSPrintfPatch(u8 *buf, const char *fmt, ...); + extern int DiagPrintfPatch(const char *fmt, ...); + extern int DiagSPrintfPatch(u8 *buf, const char *fmt, ...); #define printf DiagPrintfPatch #define sprintf DiagSPrintfPatch #define snprintf DiagSnPrintfPatch