diff --git a/jsonpull.c b/jsonpull.c index 22d13ed8..e56c48bc 100644 --- a/jsonpull.c +++ b/jsonpull.c @@ -1,3 +1,4 @@ +#define _GNU_SOURCE // for asprintf() #include #include #include diff --git a/tile.cc b/tile.cc index fdf9fe7f..ad8a3a7f 100644 --- a/tile.cc +++ b/tile.cc @@ -1102,7 +1102,7 @@ void *run_thread(void *vargs) { *arg->midy = y; *arg->most = len; } else if (len == *arg->most) { - unsigned long long a = (((unsigned long long) x ) << 32) | y; + unsigned long long a = (((unsigned long long) x) << 32) | y; unsigned long long b = (((unsigned long long) *arg->midx) << 32) | *arg->midy; if (a < b) {