summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-03-04 23:41:03 +0100
committerGitHub <[email protected]>2020-03-04 23:41:03 +0100
commit6d8ed20bb0d85e01e08bcff7c25b367730f9c0ff (patch)
tree62d73490fb8ce48faf34fb33553e8342e81627a4
parent9e2fe2c3d39a2935f218954f3447bc25c0148684 (diff)
downloadSTC-modified-6d8ed20bb0d85e01e08bcff7c25b367730f9c0ff.tar.gz
STC-modified-6d8ed20bb0d85e01e08bcff7c25b367730f9c0ff.zip
Update README.md
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 786d1e15..a9a0151a 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,7 @@ declare_CMap(ii, int, int);
CMap(ii) nums = cmap_initializer;
cmap_ii_put(&nums, 8, 64);
cmap_ii_put(&nums, 11, 121);
-printf("%s\n", cmap_ii_get(&nums, 8)->value);
+printf("%d\n", cmap_ii_get(&nums, 8)->value);
cmap_ii_destroy(&nums);
```
Simple CMap with CString keys -> int values