aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/mpal
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-04 22:58:42 +1000
committerPaul Gilbert2012-05-04 22:58:42 +1000
commit3184a5a874f3cfaa75424e7efb21f1cca3702988 (patch)
tree9a31179c1e786764a1b9ec91540cfac6b27b923b /engines/tony/mpal
parent9c2ccc4f9c0f4e27209ac876bf2112fd2a6e2987 (diff)
downloadscummvm-rg350-3184a5a874f3cfaa75424e7efb21f1cca3702988.tar.gz
scummvm-rg350-3184a5a874f3cfaa75424e7efb21f1cca3702988.tar.bz2
scummvm-rg350-3184a5a874f3cfaa75424e7efb21f1cca3702988.zip
TONY: Fix warnings about return values not being used
Diffstat (limited to 'engines/tony/mpal')
-rw-r--r--engines/tony/mpal/mpal.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/tony/mpal/mpal.h b/engines/tony/mpal/mpal.h
index d800be60b8..e66f1fdb7e 100644
--- a/engines/tony/mpal/mpal.h
+++ b/engines/tony/mpal/mpal.h
@@ -523,7 +523,8 @@ typedef LPITEMIRQFUNCTION* LPLPITEMIRQFUNCTION;
#define mpalQueryDialogSelection(nChoice,dwData) \
(bool)mpalQuery(MPQ_DIALOG_SELECTION,(uint32)(nChoice),(uint32)(dwData))
-
+#define mpalQueryDialogSelectionU32(nChoice, dwData) \
+ mpalQuery(MPQ_DIALOG_SELECTION,(uint32)(nChoice),(uint32)(dwData))
/****************************************************************************\
*
@@ -547,9 +548,11 @@ typedef LPITEMIRQFUNCTION* LPLPITEMIRQFUNCTION;
*
\****************************************************************************/
-#define mpalQueryDoAction(nAction,nItem,dwParam) \
- (HANDLE)mpalQuery(MPQ_DO_ACTION,(uint32)(nAction),(uint32)(nItem),(uint32)(dwParam))
+#define mpalQueryDoAction(nAction, nItem, dwParam) \
+ (HANDLE)mpalQuery(MPQ_DO_ACTION, (uint32)(nAction), (uint32)(nItem), (uint32)(dwParam))
+#define mpalQueryDoActionU32(nAction, nItem, dwParam) \
+ mpalQuery(MPQ_DO_ACTION, (uint32)(nAction), (uint32)(nItem), (uint32)(dwParam))
/****************************************************************************\
@@ -569,6 +572,8 @@ typedef LPITEMIRQFUNCTION* LPLPITEMIRQFUNCTION;
#define mpalQueryDoDialog(nDialog,nGroup) \
(HANDLE)mpalQuery(MPQ_DO_DIALOG,(uint32)(nDialog),(uint32)(nGroup))
+#define mpalQueryDoDialogU32(nDialog, nGroup) \
+ mpalQuery(MPQ_DO_DIALOG,(uint32)(nDialog),(uint32)(nGroup))
/****************************************************************************\