Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Favre-Felix <n.favrefelix@gmail.com>2010-09-16 18:02:48 +0400
committerNicolas Favre-Felix <n.favrefelix@gmail.com>2010-09-16 18:02:48 +0400
commit583dffcb1b6f3b3609c687433a90de1f9a65b320 (patch)
treed141d7343dba59b6828c619713a71dffd58386ff /redis.c
parent6769e21cce3a3f69d63bc8a6a6c074a175a9f443 (diff)
Bugfix on limits.
Diffstat (limited to 'redis.c')
-rwxr-xr-xredis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/redis.c b/redis.c
index f89cf140..841b23c2 100755
--- a/redis.c
+++ b/redis.c
@@ -2107,9 +2107,9 @@ PHP_METHOD(Redis, sort) {
"$5" _NL
"LIMIT" _NL
"$%d" _NL
- "%ld" _NL
+ "%d" _NL
"$%d" _NL
- "%ld" _NL
+ "%d" _NL
, cmd, cmd_len
, integer_length(limit_low), limit_low
, integer_length(limit_high), limit_high);