Minor fixes

This commit is contained in:
Lynix
2022-04-02 21:18:04 +02:00
parent 71db80c374
commit 5cd9f6fdcd
6 changed files with 13 additions and 13 deletions

View File

@@ -21,7 +21,7 @@ namespace Nz
{
number = 0;
for (UInt8 mul : { 0x10, 1 })
for (UInt8 mul : { UInt8(0x10), UInt8(1) })
{
if (*str >= '0' && *str <= '9')
number += (*str - '0') * mul;