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
hiredis
Commits
35a16d6f
Commit
35a16d6f
authored
Apr 20, 2016
by
not-a-robot
Browse files
Auto merge of #416 - redis:string-len-size_t, r=badboy
fix: Change string length type to size_t
parents
278745d8
97ac0d1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
hiredis.h
View file @
35a16d6f
...
...
@@ -112,7 +112,7 @@ extern "C" {
typedef
struct
redisReply
{
int
type
;
/* REDIS_REPLY_* */
long
long
integer
;
/* The integer when type is REDIS_REPLY_INTEGER */
in
t
len
;
/* Length of string */
size_
t
len
;
/* Length of string */
char
*
str
;
/* Used for both REDIS_REPLY_ERROR and REDIS_REPLY_STRING */
size_t
elements
;
/* number of elements, for REDIS_REPLY_ARRAY */
struct
redisReply
**
element
;
/* elements vector for REDIS_REPLY_ARRAY */
...
...
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