aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 83d0cdf..a2fd4db 100644
--- a/README.md
+++ b/README.md
@@ -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.