Index: core/src/fxge/android/fpf_skiafont.cpp |
diff --git a/core/src/fxge/android/fpf_skiafont.cpp b/core/src/fxge/android/fpf_skiafont.cpp |
index 290d989851b5bd7481c426db8425f267659a5a30..213a6595aa868fe88720fa96fdc46dff25c6d4d4 100644 |
--- a/core/src/fxge/android/fpf_skiafont.cpp |
+++ b/core/src/fxge/android/fpf_skiafont.cpp |
@@ -156,7 +156,7 @@ int32_t CFPF_SkiaFont::GetItalicAngle() const |
} |
return 0; |
} |
-FX_DWORD CFPF_SkiaFont::GetFontData(FX_DWORD dwTable, FX_LPBYTE pBuffer, FX_DWORD dwSize) |
+FX_DWORD CFPF_SkiaFont::GetFontData(FX_DWORD dwTable, uint8_t* pBuffer, FX_DWORD dwSize) |
{ |
if (!m_Face) { |
return FALSE; |
@@ -184,7 +184,7 @@ FX_BOOL CFPF_SkiaFont::InitFont(CFPF_SkiaFontMgr *pFontMgr, CFPF_SkiaFontDescrip |
break; |
case FPF_SKIAFONTTYPE_Buffer: { |
CFPF_SkiaBufferFont *pFont = (CFPF_SkiaBufferFont*)pFontDes; |
- m_Face = pFontMgr->GetFontFace((FX_LPCBYTE)pFont->m_pBuffer, pFont->m_szBuffer, pFont->m_iFaceIndex); |
+ m_Face = pFontMgr->GetFontFace((const uint8_t*)pFont->m_pBuffer, pFont->m_szBuffer, pFont->m_iFaceIndex); |
} |
break; |
default: |