Index: core/src/fxcrt/fxcrt_platforms.cpp |
diff --git a/core/src/fxcrt/fxcrt_platforms.cpp b/core/src/fxcrt/fxcrt_platforms.cpp |
index 0810c2ff65c2483c958a4389ba085936168e4d14..9ad2e5a450f6c9e860e320bea87a5a5564f46c4c 100644 |
--- a/core/src/fxcrt/fxcrt_platforms.cpp |
+++ b/core/src/fxcrt/fxcrt_platforms.cpp |
@@ -168,7 +168,7 @@ FX_BOOL FX_File_Copy(FX_BSTR fileNameSrc, FX_BSTR fileNameDst) |
return FALSE; |
} |
FX_FILESIZE num = 0; |
- FX_LPBYTE pBuffer = FX_Alloc(uint8_t, 32768); |
+ uint8_t* pBuffer = FX_Alloc(uint8_t, 32768); |
while (num = src.Read(pBuffer, 32768)) { |
if (dst.Write(pBuffer, num) != num) { |
break; |