[Scummvm-git-logs] scummvm master -> 84b03e99c7d884927a4e2d98d081e45e38a81d4a

sev- noreply at scummvm.org
Sun Jul 17 11:10:21 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
84b03e99c7 GRAPHICS: MACGUI: Fix warning


Commit: 84b03e99c7d884927a4e2d98d081e45e38a81d4a
    https://github.com/scummvm/scummvm/commit/84b03e99c7d884927a4e2d98d081e45e38a81d4a
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-07-17T13:09:32+02:00

Commit Message:
GRAPHICS: MACGUI: Fix warning

Changed paths:
    graphics/macgui/macfontmanager.h


diff --git a/graphics/macgui/macfontmanager.h b/graphics/macgui/macfontmanager.h
index f8942eeddcd..92652abc8c0 100644
--- a/graphics/macgui/macfontmanager.h
+++ b/graphics/macgui/macfontmanager.h
@@ -84,7 +84,7 @@ public:
 		_size = size ? size : 12;
 		_slant = slant;
 		_fallback = FontMan.getFontByUsage(Graphics::FontManager::kBigGUIFont);
-		_fallbackName = Common::String(((BdfFont *)_fallback)->getFamilyName());
+		_fallbackName = Common::String(((const BdfFont *)_fallback)->getFamilyName());
 		_generated = false;
 		_truetype = false;
 		_font = NULL;




More information about the Scummvm-git-logs mailing list