From b362aa1ca49d4c7a2b231492e4610358f32e099f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Banaan=20Ananas?= Date: Tue, 11 Oct 2011 20:25:27 +0000 Subject: [PATCH] (overflow possible) --- src/mame/video/namcos22.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/video/namcos22.c b/src/mame/video/namcos22.c index 3dd4ed76854..f5102f055d9 100644 --- a/src/mame/video/namcos22.c +++ b/src/mame/video/namcos22.c @@ -1299,8 +1299,8 @@ DrawSpritesHelper( int pri = ((pPal[1] & 0xffff) == 0x00fe); // set window clipping - INT16 cx_min, cx_max; - INT16 cy_min, cy_max; + int cx_min, cx_max; + int cy_min, cy_max; if (attrs & 0x01000000) { cx_min = -deltax + (INT16)(pBase[0x208/4]>>16);