aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoe Hildebrand <joe-github@cursive.net>2015-04-02 16:56:23 -0600
committerJoe Hildebrand <joe-github@cursive.net>2015-04-02 16:56:23 -0600
commit77d31f0b63a8d07e02b7d6dff3d02ae2b5c31bf6 (patch)
tree6b87bad97978fb9b137e0fe0ee2f1bf9830430be /include
parent41cbf1de7a82bc6d12dbe32157c223aaa5235f64 (diff)
downloadplatform_external_cn-cbor-77d31f0b63a8d07e02b7d6dff3d02ae2b5c31bf6.tar.gz
platform_external_cn-cbor-77d31f0b63a8d07e02b7d6dff3d02ae2b5c31bf6.tar.bz2
platform_external_cn-cbor-77d31f0b63a8d07e02b7d6dff3d02ae2b5c31bf6.zip
better const correctness
Diffstat (limited to 'include')
-rw-r--r--include/cn-cbor/cn-cbor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cn-cbor/cn-cbor.h b/include/cn-cbor/cn-cbor.h
index a32c510..b1b807f 100644
--- a/include/cn-cbor/cn-cbor.h
+++ b/include/cn-cbor/cn-cbor.h
@@ -362,7 +362,7 @@ bool cn_cbor_mapput_int(cn_cbor* cb_map,
* @return True on success
*/
bool cn_cbor_mapput_string(cn_cbor* cb_map,
- char* key, cn_cbor* cb_value
+ const char* key, cn_cbor* cb_value
CBOR_CONTEXT,
cn_cbor_errback *errp);