summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--load-git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load-git.c b/load-git.c
index e6e0840ab..d50a53d6c 100644
--- a/load-git.c
+++ b/load-git.c
@@ -306,7 +306,7 @@ static void parse_site_geo(char *line, struct membuffer *str, void *_ds)
if (nr < TC_NR_CATEGORIES) {
struct taxonomy *t = &ds->taxonomy.category[nr];
t->value = strdup(mb_cstring(str));
- sscanf(line, "cat %d origin %d \"", &t->category, &t->origin);
+ sscanf(line, "cat %d origin %d \"", &t->category, (int *)&t->origin);
ds->taxonomy.nr++;
}
}