From df31f9418752ef3cb4da344cea0347eec0605707 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Sun, 19 Apr 2009 02:31:12 +0000 Subject: [PATCH] Fixed some warnings. --- tools/testtools/mdp_allo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testtools/mdp_allo.cpp b/tools/testtools/mdp_allo.cpp index 058374aad..d793b8dfb 100644 --- a/tools/testtools/mdp_allo.cpp +++ b/tools/testtools/mdp_allo.cpp @@ -52,7 +52,7 @@ int MDP_ALLO_errorOption = 3; # define MAX(x,y) (( (x) > (y) ) ? (x) : (y)) #endif -#define MDP_ALLOC_INTERFACE_ERROR -230346 +#define MDP_ALLOC_INTERFACE_ERROR 230346 /****************************************************************************/ /****************************************************************************/ @@ -87,7 +87,7 @@ static void mdp_alloc_eh(const char *rname, size_t bytes) #endif } else { sprintf(mesg,"%s ERROR: out of memory while mallocing %d bytes", - rname, bytes); + rname, (int) bytes); } if (MDP_ALLO_errorOption % 2 == 1) { fprintf(stderr, "\n%s", mesg);