diff --git a/src/tools/dummy_map.cpp b/src/tools/dummy_map.cpp index 1f14a1b88..a211cc307 100644 --- a/src/tools/dummy_map.cpp +++ b/src/tools/dummy_map.cpp @@ -92,7 +92,7 @@ void CreateEmptyMap(IStorage *pStorage) unsigned char *pDataChar = static_cast(pData); unsigned Crc = crc32(0, pDataChar, DataSize); - SHA256_DIGEST Sha256 = sha256(&pDataChar, DataSize); + SHA256_DIGEST Sha256 = sha256(pDataChar, DataSize); char aMapSha[SHA256_MAXSTRSIZE]; sha256_str(Sha256, aMapSha, sizeof(aMapSha));