From: stewartamiles Date: Thu, 23 Jul 2009 16:37:02 +0000 (+0000) Subject: Fixed truncation in integer range checking event structure to store min and max value... X-Git-Tag: cmocka-1.1.1~366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=342ddac73d4849e9d5d5e117974354460238b1e8;p=platform%2Fupstream%2Fcmocka.git Fixed truncation in integer range checking event structure to store min and max values as LargestIntegralType rather than int. git-svn-id: http://cmockery.googlecode.com/svn/trunk@38 40f4469a-5155-0410-be90-2de3f0bae501 --- diff --git a/src/cmockery.c b/src/cmockery.c index ed6ab76..5c51b57 100755 --- a/src/cmockery.c +++ b/src/cmockery.c @@ -131,8 +131,8 @@ typedef void (*CleanupListValue)(const void *value, void *cleanup_value_data); // Structure used to check the range of integer types. typedef struct CheckIntegerRange { CheckParameterEvent event; - int minimum; - int maximum; + LargestIntegralType minimum; + LargestIntegralType maximum; } CheckIntegerRange; // Structure used to check whether an integer value is in a set.