UI/updater: Fix variable type to format specifier

This commit is contained in:
craftwar 2019-09-02 21:14:21 +08:00
parent e004ce8064
commit 6ffc4f590a

View File

@ -35,7 +35,7 @@ void HashToString(const uint8_t *in, wchar_t *out)
void StringToHash(const wchar_t *in, BYTE *out)
{
int temp;
unsigned int temp;
for (int i = 0; i < BLAKE2_HASH_LENGTH; i++) {
swscanf_s(in + i * 2, L"%02x", &temp);