diff options
author | Einar Johan Trøan Sømåen | 2012-08-31 14:01:18 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-08-31 14:01:18 +0200 |
commit | 2039ea6b8df36c960ff25ae56930357d40e95d1d (patch) | |
tree | f4e6f5737f6ca3880584a47554c574f11035ee98 /engines/wintermute/ad | |
parent | 16b27090b1c7dc11cdc199b1a98c0f2973db5f45 (diff) | |
download | scummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.tar.gz scummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.tar.bz2 scummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.zip |
WINTERMUTE: Fix g++ warnings listed by LordHoto
Diffstat (limited to 'engines/wintermute/ad')
-rw-r--r-- | engines/wintermute/ad/ad_scene.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_scene.cpp b/engines/wintermute/ad/ad_scene.cpp index 19968d41dc..1e5754a778 100644 --- a/engines/wintermute/ad/ad_scene.cpp +++ b/engines/wintermute/ad/ad_scene.cpp @@ -1200,8 +1200,8 @@ bool AdScene::displayRegionContent(AdRegion *region, bool display3DOnly) { //////////////////////////////////////////////////////////////////////////
int AdScene::compareObjs(const void *obj1, const void *obj2) {
- AdObject *object1 = *(AdObject **)obj1;
- AdObject *object2 = *(AdObject **)obj2;
+ const AdObject *object1 = *(AdObject **)obj1;
+ const AdObject *object2 = *(AdObject **)obj2;
if (object1->_posY < object2->_posY) {
return -1;
|