diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2015-07-17 18:18:44 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2015-07-17 18:18:44 +0100 |
commit | 64652523d5f96f3b96d36d6ce9d01b42bd47ecc0 (patch) | |
tree | 27a2a7ddc8ab1d0c2e3a8ab6f9fdae9e9b37a68b | |
parent | 8ccf639f42a8f087c96b7bfa9cc4fbef6c0fd25f (diff) | |
download | swig-64652523d5f96f3b96d36d6ce9d01b42bd47ecc0.tar.gz |
warning fixes
-rw-r--r-- | Source/Swig/scanner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Swig/scanner.c b/Source/Swig/scanner.c index b0d608c9e..227a1d00c 100644 --- a/Source/Swig/scanner.c +++ b/Source/Swig/scanner.c @@ -336,7 +336,7 @@ static void brackets_reset(Scanner *s) { * Usually called when '(' is found. * ----------------------------------------------------------------------------- */ static void brackets_push(Scanner *s) { - int *newInt = malloc(sizeof(int)); + int *newInt = (int *)malloc(sizeof(int)); *newInt = 0; Push(s->brackets, NewVoid(newInt, free)); } |