diff options
author | antirez <antirez@gmail.com> | 2014-02-06 17:10:16 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-02-06 17:10:16 +0100 |
commit | d86a9b85cb4fb96430c7479ae6c956f2b605bbd1 (patch) | |
tree | 29937feca0578971fd516b066cb532025d980dbf | |
parent | f41ed18eeee9361e667c7da0a3ca71294ffa5e50 (diff) | |
download | sds-d86a9b85cb4fb96430c7479ae6c956f2b605bbd1.tar.xz |
Fixed num to string example.
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -325,7 +325,7 @@ You can use `sdscatprintf` in order to convert numbers into SDS strings: ```c int some_integer = 100; -sds num = sdscatprintf(sdsempty(),"%s\n", some_integer); +sds num = sdscatprintf(sdsempty(),"%d\n", some_integer); ``` However this is slow and we have a special function to make it efficient. |