Index: core/src/fxge/win32/fx_win32_dwrite.cpp |
diff --git a/core/src/fxge/win32/fx_win32_dwrite.cpp b/core/src/fxge/win32/fx_win32_dwrite.cpp |
index e2951e4d073a2d97165eb159d9c6438d7b4c1ccf..b310bcf73f376f684529295279e6929642ef0fce 100644 |
--- a/core/src/fxge/win32/fx_win32_dwrite.cpp |
+++ b/core/src/fxge/win32/fx_win32_dwrite.cpp |
@@ -128,7 +128,7 @@ CDWriteExt::~CDWriteExt() |
{ |
Unload(); |
} |
-LPVOID CDWriteExt::DwCreateFontFaceFromStream(FX_LPBYTE pData, FX_DWORD size, int simulation_style) |
+LPVOID CDWriteExt::DwCreateFontFaceFromStream(uint8_t* pData, FX_DWORD size, int simulation_style) |
{ |
IDWriteFactory* pDwFactory = (IDWriteFactory*)m_pDWriteFactory; |
IDWriteFontFile* pDwFontFile = NULL; |
@@ -433,7 +433,7 @@ STDMETHODIMP CDwGdiTextRenderer::DrawGlyphRun( |
bitmap.bmWidth, |
bitmap.bmHeight, |
bitmap.bmBitsPixel == 24 ? FXDIB_Rgb : FXDIB_Rgb32, |
- (FX_LPBYTE)bitmap.bmBits |
+ (uint8_t*)bitmap.bmBits |
); |
dib.CompositeBitmap( |
text_bbox.left, |