diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/src/compat.c | 2 | ||||
-rw-r--r-- | lib/src/compat.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/src/compat.c b/lib/src/compat.c index 63431a384..633037a0f 100644 --- a/lib/src/compat.c +++ b/lib/src/compat.c @@ -1033,7 +1033,7 @@ hicn_data_get_name (hicn_format_t format, const hicn_header_t * data, int hicn_data_set_name (hicn_format_t format, hicn_header_t * data, - hicn_name_t * name) + const hicn_name_t * name) { int ret_err = hicn_packet_set_ece (data); //data packet -> ece flag set if (ret_err < 0) diff --git a/lib/src/compat.h b/lib/src/compat.h index e174414a4..7228843bb 100644 --- a/lib/src/compat.h +++ b/lib/src/compat.h @@ -423,7 +423,7 @@ int hicn_interest_reset_for_hash (hicn_format_t format, int hicn_data_get_name (hicn_format_t format, const hicn_header_t * data, hicn_name_t * name); int hicn_data_set_name (hicn_format_t format, hicn_header_t * data, - hicn_name_t * name); + const hicn_name_t * name); int hicn_data_get_locator (hicn_format_t format, const hicn_header_t * data, ip_address_t * ip_address); int hicn_data_set_locator (hicn_format_t format, hicn_header_t * data, |