warning fixes

This commit is contained in:
William S Fulton 2015-07-17 18:18:44 +01:00
commit 64652523d5

View file

@ -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));
}