handle_warning clear

Signed-off-by: pang-wenbin2 <pangwenbin2@huawei.com>
This commit is contained in:
“your
2022-02-28 21:01:51 +08:00
parent 2957fdf421
commit dfbf4b4db3
19 changed files with 46 additions and 46 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ bool MbedtlsGenRandomStr(char *szOut, int32_t szOutLen, bool numberOnly)
return false;
}
szOut[--szOutLen] = 0;
GetRandomData((uint8_t *)szOut, szOutLen);
GetRandomData((uint8_t *)szOut, (uint32_t)szOutLen);
const int32_t NUMBER_COUNT = 10;
const int32_t ALPHA_COUNT = 26;
const int32_t ALPHA_BYTE_COUNT = 2;