From 43e92a4c62ac92383d2ef375d68bf279388fd293 Mon Sep 17 00:00:00 2001 From: Edoardo Lolletti Date: Sun, 23 Oct 2022 18:42:27 +0200 Subject: [PATCH] Update CGUITTFont.h --- gframe/CGUITTFont/CGUITTFont.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gframe/CGUITTFont/CGUITTFont.h b/gframe/CGUITTFont/CGUITTFont.h index ae4076dc7..df4f1c08d 100644 --- a/gframe/CGUITTFont/CGUITTFont.h +++ b/gframe/CGUITTFont/CGUITTFont.h @@ -115,7 +115,7 @@ class CGUITTGlyphPage { public: CGUITTGlyphPage(video::IVideoDriver* Driver, const std::string& texture_name) : texture(0), available_slots(0), used_slots(0), dirty(false), driver(Driver), - name({ texture_name.data(), (irr::s32)texture_name.size() }) {} + name({ texture_name.data(), (irr::u32)texture_name.size() }) {} ~CGUITTGlyphPage(); //! Create the actual page texture,