X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/849dfb463d5788f483668d2abe886e4a2b628172..5a433f49f70da581722ce90a5fb33bac6988ebe8:/Ventoy2Disk/Ventoy2Disk/VentoyJson.c diff --git a/Ventoy2Disk/Ventoy2Disk/VentoyJson.c b/Ventoy2Disk/Ventoy2Disk/VentoyJson.c index 1bfca57..9fdeffa 100644 --- a/Ventoy2Disk/Ventoy2Disk/VentoyJson.c +++ b/Ventoy2Disk/Ventoy2Disk/VentoyJson.c @@ -403,7 +403,7 @@ int vtoy_json_parse(VTOY_JSON *pstJson, const char *szJsonData) char *pcNewBuf = NULL; const char *pcEnd = NULL; - uiMemSize = strlen(szJsonData) + 1; + uiMemSize = (UINT32)strlen(szJsonData) + 1; pcNewBuf = (char *)malloc(uiMemSize); if (NULL == pcNewBuf) {