From b6aa3322a016d7760c7b9738ef80762dbd76f0b1 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sun, 14 Sep 2008 17:46:45 +0000 Subject: [PATCH] 64 bit fix git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2586 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/vertmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/vertmodel.h b/source/src/vertmodel.h index bdbfe0a1..4250ea48 100644 --- a/source/src/vertmodel.h +++ b/source/src/vertmodel.h @@ -830,7 +830,7 @@ struct vertmodel : model 1, 2, 1 }; static const uint filter3x3sum = 16; - uchar *src = in, *prev = &in[-size], *next = &in[size], *dst = out; + uchar *src = in, *prev = in - size, *next = in + size, *dst = out; #define FILTER(c0, c1, c2, c3, c4, c5, c6, c7, c8) \ { \