diff options
author | Wolfgang Richter <wolf@cs.cmu.edu> | 2013-07-10 23:05:39 -0700 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2013-07-10 23:05:39 -0700 |
commit | 37a840dc2c0899e032e0fb05a0813e137a68f032 (patch) | |
tree | d7a43126311b1ab07ca3d83792b595ff2e54206e /examples | |
parent | afc462d35d6940f77db843f7981377b5d0d75c89 (diff) |
Emphasize size_t length for %b formatting
Closes #121.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example.c b/examples/example.c index 8b2e7f7..c76451f 100644 --- a/examples/example.c +++ b/examples/example.c @@ -32,7 +32,7 @@ int main(void) { freeReplyObject(reply); /* Set a key using binary safe API */ - reply = redisCommand(c,"SET %b %b", "bar", 3, "hello", 5); + reply = redisCommand(c,"SET %b %b", "bar", (size_t) 3, "hello", (size_t) 5); printf("SET (binary API): %s\n", reply->str); freeReplyObject(reply); |