From 7428af9a4c612b59cee7f55d867a00464b3dae64 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 18 Feb 2013 01:37:21 +0100 Subject: HOPKINS: Replace casted READ_LE_UINT16 by the equivalent macro to improve readability --- engines/hopkins/hopkins.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/hopkins/hopkins.h') diff --git a/engines/hopkins/hopkins.h b/engines/hopkins/hopkins.h index fe14b23a9a..0fd683375f 100644 --- a/engines/hopkins/hopkins.h +++ b/engines/hopkins/hopkins.h @@ -82,6 +82,8 @@ enum { */ #define MKTAG24(a0,a1,a2) ((uint32)((a2) | (a1) << 8 | ((a0) << 16))) +#define READ_LE_INT16(x) (int16) READ_LE_UINT16(x) + struct HopkinsGameDescription; class HopkinsEngine : public Engine { -- cgit v1.2.3