Fix build, add Wall

This commit is contained in:
Jeremy Soller
2018-03-06 21:23:36 -07:00
parent 853fdaad75
commit b14ee3ed39
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ int main(int argc, char ** argv) {
char * ptrc = (char *)calloc(256,1);
printf("calloc %p\n", ptrc);
for(int i = 0; i < 256; i++) {
for(i = 0; i < 256; i++) {
ptrc[i] = (char)i;
}
free(ptrc);