mirror of
https://github.com/openharmony/device_manager.git
synced 2026-07-21 06:05:22 -04:00
handle_warning clear
Signed-off-by: pang-wenbin2 <pangwenbin2@huawei.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user