aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_response_box.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2013-04-20 18:11:47 +0200
committerEinar Johan Trøan Sømåen2013-04-20 18:11:47 +0200
commit51e17d9f86d9063dd98924046c78ad23946b4ae9 (patch)
treeeadc51a3321f5ec7d1421201d12066691d647edb /engines/wintermute/ad/ad_response_box.cpp
parent2625f3931a946180de617fa0e04b8b4d3f30cb2d (diff)
downloadscummvm-rg350-51e17d9f86d9063dd98924046c78ad23946b4ae9.tar.gz
scummvm-rg350-51e17d9f86d9063dd98924046c78ad23946b4ae9.tar.bz2
scummvm-rg350-51e17d9f86d9063dd98924046c78ad23946b4ae9.zip
WINTERMUTE: Further reduce the amount of int->int32-confusion.
Diffstat (limited to 'engines/wintermute/ad/ad_response_box.cpp')
-rw-r--r--engines/wintermute/ad/ad_response_box.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ad/ad_response_box.cpp b/engines/wintermute/ad/ad_response_box.cpp
index df86bce29c..a589bf3a30 100644
--- a/engines/wintermute/ad/ad_response_box.cpp
+++ b/engines/wintermute/ad/ad_response_box.cpp
@@ -187,7 +187,7 @@ bool AdResponseBox::createButtons() {
// make the responses touchable
if (_gameRef->_touchInterface) {
- btn->_height = MAX(btn->_height, 50);
+ btn->_height = MAX<int32>(btn->_height, 50);
}
//btn->SetListener(this, btn, _responses[i]->_iD);