From 210686b2c73f687d54ff7e44e78b1e2dd208a78b Mon Sep 17 00:00:00 2001 From: "martijn.martijn%gmail.com" Date: Wed, 14 Mar 2007 17:33:53 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20373010=20=EF=BF=BD=20Mingw=20build=20fail?= =?UTF-8?q?ure=20in=20mozilla/gfx/thebes/src/gfxWindowsFonts.cpp,=20r+sr?= =?UTF-8?q?=3Dpavlov?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gfx/thebes/src/gfxWindowsFonts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/thebes/src/gfxWindowsFonts.cpp b/gfx/thebes/src/gfxWindowsFonts.cpp index bfde8bdab108..bdeecad9ef24 100644 --- a/gfx/thebes/src/gfxWindowsFonts.cpp +++ b/gfx/thebes/src/gfxWindowsFonts.cpp @@ -644,7 +644,7 @@ static inline PRBool IsMissingGlyphsGDI(HDC aDC, const char *aString, PRUint32 aLength, WCHAR *glyphBuffer) { DWORD ret; - ret = GetGlyphIndicesA(aDC, aString, aLength, glyphBuffer, GGI_MARK_NONEXISTING_GLYPHS); + ret = GetGlyphIndicesA(aDC, aString, aLength, (WORD*) glyphBuffer, GGI_MARK_NONEXISTING_GLYPHS); if (ret == GDI_ERROR) { NS_WARNING("GetGlyphIndicies failed\n"); return PR_TRUE; @@ -661,7 +661,7 @@ static inline PRBool IsMissingGlyphsGDI(HDC aDC, const PRUnichar *aString, PRUint32 aLength, WCHAR *glyphBuffer) { DWORD ret; - ret = GetGlyphIndicesW(aDC, aString, aLength, glyphBuffer, GGI_MARK_NONEXISTING_GLYPHS); + ret = GetGlyphIndicesW(aDC, aString, aLength, (WORD*) glyphBuffer, GGI_MARK_NONEXISTING_GLYPHS); if (ret == GDI_ERROR) { NS_WARNING("GetGlyphIndicies failed\n"); return PR_TRUE;