diff options
author | Angelo Mantellini <angelo.mantellini@cisco.com> | 2020-01-30 10:44:19 +0100 |
---|---|---|
committer | Angelo Mantellini <angelo.mantellini@cisco.com> | 2020-02-03 10:18:52 +0000 |
commit | 55f2219ab98b039f256671c5e584a61ab52bfed0 (patch) | |
tree | d97fbf6a57dfdb4335bba979f27bd18f4999c492 /lib/includes/hicn/util/map.h | |
parent | be54ac541c9700eaa9085bc8b4ee21b7a5f7e30a (diff) |
[HICN-489] Add iOS support to hicn stack
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I8fa8c4eaa3218eb4be46f713b15ab789c6930aa0
Diffstat (limited to 'lib/includes/hicn/util/map.h')
-rw-r--r-- | lib/includes/hicn/util/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/includes/hicn/util/map.h b/lib/includes/hicn/util/map.h index 1ac5812ef..01195865e 100644 --- a/lib/includes/hicn/util/map.h +++ b/lib/includes/hicn/util/map.h @@ -94,7 +94,7 @@ NAME ## _pair_snprintf(char * buf, size_t size, const NAME ## _pair_t * pair) { if (rc < 0) \ return rc; \ rc = VALUE_SNPRINTF(buf+rc, BUFSIZE/2, (VAL_T)pair->value); \ - return rc; \ + return (int)rc; \ } \ \ TYPEDEF_SET(NAME ## _pair_set, NAME ## _pair_t *, NAME ## _pair_cmp, NAME ## _pair_snprintf); \ |