X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/4bf43ab9d4e6b724836724c1d514760d164df79a..f7e6bbc70c65db9f6f5da5abc4ae57bd689da91c:/Plugson/src/Core/ventoy_json.c diff --git a/Plugson/src/Core/ventoy_json.c b/Plugson/src/Core/ventoy_json.c index 2403e65..346a9d9 100644 --- a/Plugson/src/Core/ventoy_json.c +++ b/Plugson/src/Core/ventoy_json.c @@ -425,7 +425,7 @@ int vtoy_json_parse(VTOY_JSON *pstJson, const char *szJsonData) char *pcNewBuf = NULL; const char *pcEnd = NULL; - uiMemSize = strlen(szJsonData) + 1; + uiMemSize = (uint32_t)strlen(szJsonData) + 1; pcNewBuf = (char *)malloc(uiMemSize); if (NULL == pcNewBuf) {