aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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);