Fixed some warnings.
This commit is contained in:
parent
f54c078fb5
commit
df31f94187
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue