aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/font.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-11-26 19:21:00 +0000
committerKamil Zbróg2013-11-26 19:21:00 +0000
commit0f013bf6e1bed6a1e18aa1a4ea16ed1c0105f33d (patch)
tree5c56337c12de20746611254168c4e7f29a4219ce /engines/prince/font.cpp
parent15bb1c61eda48f09253ccb8d2a42ccad59f3b00a (diff)
downloadscummvm-rg350-0f013bf6e1bed6a1e18aa1a4ea16ed1c0105f33d.tar.gz
scummvm-rg350-0f013bf6e1bed6a1e18aa1a4ea16ed1c0105f33d.tar.bz2
scummvm-rg350-0f013bf6e1bed6a1e18aa1a4ea16ed1c0105f33d.zip
PRINCE: compilation fix after merge from master
Diffstat (limited to 'engines/prince/font.cpp')
-rw-r--r--engines/prince/font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/prince/font.cpp b/engines/prince/font.cpp
index 33149c14e4..40b6d014e6 100644
--- a/engines/prince/font.cpp
+++ b/engines/prince/font.cpp
@@ -65,11 +65,11 @@ Font::ChrData Font::getChrData(byte chr) const {
return chrData;
}
-int Font::getCharWidth(byte chr) const {
+int Font::getCharWidth(uint32 chr) const {
return getChrData(chr)._width;
}
-void Font::drawChar(Graphics::Surface *dst, byte chr, int posX, int posY, uint32 color) const {
+void Font::drawChar(Graphics::Surface *dst, uint32 chr, int posX, int posY, uint32 color) const {
const ChrData chrData = getChrData(chr);
for (int y = 0; y < chrData._height; ++y) {