port to C17/C++20

This commit is contained in:
2024-07-25 02:59:53 +08:00
parent 51f5b2ca59
commit 259f0ef40c
14 changed files with 26 additions and 26 deletions

View File

@@ -266,7 +266,7 @@ namespace hgl
const int hash_bytes=hash_code_bytes[(size_t)ha];
uint8 *hash_code=new uint8[hash_bytes];
char *hash_code_str=new char[1+(hash_bytes<<1)];
u8char *hash_code_str=new u8char[1+(hash_bytes<<1)];
h->Init();
h->Update(data,size);