From 725ea71e570287555151960c0a7d04ebb7bb57eb Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 17 Jun 2015 17:30:17 -0700 Subject: [PATCH] Fix formatting --- geojson.c | 2 +- tile.cc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/geojson.c b/geojson.c index d8e6483..69d6e67 100644 --- a/geojson.c +++ b/geojson.c @@ -403,7 +403,7 @@ long long addpool(FILE *poolfile, long long *poolpos, char *s) { } *sp = malloc(sizeof(struct stringpool)); - (*sp)->s = strdup(s); // XXX really should be mapped from the pool itself + (*sp)->s = strdup(s); // XXX really should be mapped from the pool itself (*sp)->left = NULL; (*sp)->right = NULL; (*sp)->off = *poolpos; diff --git a/tile.cc b/tile.cc index 1cd0691..f01506a 100644 --- a/tile.cc +++ b/tile.cc @@ -187,13 +187,13 @@ int coalindexcmp(const struct coalesce *c1, const struct coalesce *c2) { } struct pool_val *retrieve_string(char **f, struct pool *p, int type, char *stringpool) { - struct pool_val *ret; + struct pool_val *ret; long long off; - deserialize_long_long(f, &off); - ret = pool(p, stringpool + off, type); + deserialize_long_long(f, &off); + ret = pool(p, stringpool + off, type); - return ret; + return ret; } void decode_meta(char **meta, char *stringpool, struct pool *keys, struct pool *values, struct pool *file_keys, std::vector *intmeta, char *only) {