Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
1e127842
Commit
1e127842
authored
Jul 09, 2015
by
antirez
Browse files
Geo: -Ofast breaks builds on older GCCs.
parent
5e041898
Changes
2
Hide whitespace changes
Inline
Side-by-side
deps/geohash-int/Makefile
View file @
1e127842
STD
=
STD
=
WARN
=
-Wall
WARN
=
-Wall
OPT
=
-O
fast
OPT
=
-O
2
R_CFLAGS
=
$(STD)
$(WARN)
$(OPT)
$(DEBUG)
$(CFLAGS)
R_CFLAGS
=
$(STD)
$(WARN)
$(OPT)
$(DEBUG)
$(CFLAGS)
R_LDFLAGS
=
$(LDFLAGS)
R_LDFLAGS
=
$(LDFLAGS)
...
...
src/geo.c
View file @
1e127842
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment