diff --git a/deps/7zip/7zFile.c b/deps/7zip/7zFile.c index 29d42e00a8..8f0b628fff 100755 --- a/deps/7zip/7zFile.c +++ b/deps/7zip/7zFile.c @@ -109,7 +109,7 @@ WRes File_Read(CSzFile *p, void *data, size_t *size) DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize; DWORD processed = 0; BOOL res = ReadFile(p->handle, data, curSize, &processed, NULL); - data = (void *)((Byte *)data + processed); + data = (void *)((uint8_t*)data + processed); originalSize -= processed; *size += processed; if (!res) @@ -144,7 +144,7 @@ WRes File_Write(CSzFile *p, const void *data, size_t *size) DWORD curSize = (originalSize > kChunkSizeMax) ? kChunkSizeMax : (DWORD)originalSize; DWORD processed = 0; BOOL res = WriteFile(p->handle, data, curSize, &processed, NULL); - data = (void *)((Byte *)data + processed); + data = (void *)((uint8_t*)data + processed); originalSize -= processed; *size += processed; if (!res)