Fix the build

This commit is contained in:
Eric Fischer 2016-01-11 11:00:23 -08:00
parent 404bf69847
commit a597733a01

View File

@ -1827,7 +1827,9 @@ int read_json(int argc, char **argv, char *fname, const char *layername, int max
}
int int_in(int v, int *a, int len) {
for (int i = 0; i < len; i++) {
int i;
for (i = 0; i < len; i++) {
if (a[i] == v) {
return 1;
}