From 9af542b0147db855ddf0ad037c08980c2754d813 Mon Sep 17 00:00:00 2001 From: "mats.palmgren%bredband.net" Date: Tue, 27 Feb 2007 22:18:27 +0000 Subject: [PATCH] Fix GCC compile error on Windows. r+sr=pavlov --- gfx/thebes/src/gfxWindowsFonts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/src/gfxWindowsFonts.cpp b/gfx/thebes/src/gfxWindowsFonts.cpp index df21e0ff8718..d44a6f0b4b51 100644 --- a/gfx/thebes/src/gfxWindowsFonts.cpp +++ b/gfx/thebes/src/gfxWindowsFonts.cpp @@ -447,7 +447,7 @@ gfxWindowsFont::GetUniqueName() // append the weight code if (mLogFont.lfWeight != 400) { uniqueName.AppendLiteral(":"); - uniqueName.AppendInt(mLogFont.lfWeight); + uniqueName.AppendInt((PRInt32)mLogFont.lfWeight); } // append italic?