aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2009-12-09 16:41:08 +0000
committerJohannes Schickel2009-12-09 16:41:08 +0000
commit421363a13258c149bdf976938e7dc8d8438aa9db (patch)
treea5146aade6553dbcc2e01f7b6dad8411447908b1 /common
parent5df86e4cccf294f6e4eccd08fb82c94fe3817a60 (diff)
downloadscummvm-rg350-421363a13258c149bdf976938e7dc8d8438aa9db.tar.gz
scummvm-rg350-421363a13258c149bdf976938e7dc8d8438aa9db.tar.bz2
scummvm-rg350-421363a13258c149bdf976938e7dc8d8438aa9db.zip
Slightly modified commit of patch #2911414 "MSVC: conversions warnings in common code".
svn-id: r46308
Diffstat (limited to 'common')
-rw-r--r--common/rect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rect.h b/common/rect.h
index 38bd2c00af..54b219394c 100644
--- a/common/rect.h
+++ b/common/rect.h
@@ -198,7 +198,7 @@ struct Rect {
else if (right < r.left) right = r.left;
}
- void clip(int maxw, int maxh) {
+ void clip(int16 maxw, int16 maxh) {
clip(Rect(0, 0, maxw, maxh));
}