]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - Ventoy2Disk/Ventoy2Disk/VentoyJson.c
Optimization for booting Fedora series.
[Ventoy.git] / Ventoy2Disk / Ventoy2Disk / VentoyJson.c
index 1bfca5706714a3d5ce49989ca90ac727e979c648..9fdeffaf4cd6a029a17d076f61724050658cc6a0 100644 (file)
@@ -403,7 +403,7 @@ int vtoy_json_parse(VTOY_JSON *pstJson, const char *szJsonData)
     char *pcNewBuf = NULL;\r
     const char *pcEnd = NULL;\r
 \r
-    uiMemSize = strlen(szJsonData) + 1;\r
+       uiMemSize = (UINT32)strlen(szJsonData) + 1;\r
     pcNewBuf = (char *)malloc(uiMemSize);\r
     if (NULL == pcNewBuf)\r
     {\r