Commit 1e127842 authored by antirez's avatar antirez
Browse files

Geo: -Ofast breaks builds on older GCCs.

parent 5e041898
STD= STD=
WARN= -Wall WARN= -Wall
OPT= -Ofast OPT= -O2
R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
R_LDFLAGS= $(LDFLAGS) R_LDFLAGS= $(LDFLAGS)
......
...@@ -580,7 +580,7 @@ void georadiusByMemberCommand(redisClient *c) { ...@@ -580,7 +580,7 @@ void georadiusByMemberCommand(redisClient *c) {
georadiusGeneric(c, RADIUS_MEMBER); georadiusGeneric(c, RADIUS_MEMBER);
} }
/* GEODECODE long lat */ /* GEODECODE score */
void geodecodeCommand(redisClient *c) { void geodecodeCommand(redisClient *c) {
GeoHashBits geohash; GeoHashBits geohash;
if (getLongLongFromObjectOrReply(c, c->argv[1], (long long *)&geohash.bits, if (getLongLongFromObjectOrReply(c, c->argv[1], (long long *)&geohash.bits,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment