From e91f739e4327c367675ffedac4d5cfa8d3158ae7 Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Mon, 21 Jun 2010 12:57:32 +0000 Subject: [PATCH] - updated default to internal temp type git-svn-id: http://cmock.svn.sourceforge.net/svnroot/cmock/trunk@169 bf332499-1b4d-0410-844d-d2d48d5cc64c --- src/cmock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmock.c b/src/cmock.c index 9e18518..e827c07 100644 --- a/src/cmock.c +++ b/src/cmock.c @@ -19,7 +19,7 @@ //should be big enough to index full range of CMOCK_MEM_MAX #ifndef CMOCK_MEM_INDEX_TYPE -#define CMOCK_MEM_INDEX_TYPE unsigned int +#define CMOCK_MEM_INDEX_TYPE unsigned long #endif //this is used internally during pointer arithmetic. make sure this type is the same size as the target's pointer type