commit b141af6efba350a99963ab4db6dc2204a4e92b56
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Tue Feb 21 20:36:19 2017 +0100
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Tue Feb 21 21:11:05 2017 +0100
[cc1] Fix cast between pointers and ints
A missing break was causing that casts between pointers and integers
was forbidden.
diff --git a/cc1/expr.c b/cc1/expr.c
index e99932d..cec7353 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -279,6 +279,7 @@ convert(Node *np, Type *newtp, char iscast)
default:
return NULL;
}
+ break;
default:
return NULL;
}