--- libpisock/address.c 2016-12-20 13:56:43.913681767 +0100 +++ libpisock/address.c 2016-12-20 13:57:47.512723493 +0100 @@ -260,7 +260,7 @@ * ***********************************************************************/ int -pack_AddressAppInfo(const AddressAppInfo_t *ai, unsigned char *record, size_t len) +pack_AddressAppInfo(AddressAppInfo_t *ai, unsigned char *record, size_t len) { int i; size_t destlen = 4 + 16 * 22 + 2 + 2; --- include/pi-address.h 2007-01-15 01:29:59.000000000 +0100 +++ include/pi-address.h 2016-12-20 14:05:35.094015860 +0100 @@ -82,7 +82,7 @@ extern int unpack_AddressAppInfo PI_ARGS((AddressAppInfo_t *, const unsigned char *AppInfo, size_t len)); extern int pack_AddressAppInfo - PI_ARGS((const AddressAppInfo_t *, unsigned char *AppInfo, size_t len)); + PI_ARGS((AddressAppInfo_t *, unsigned char *AppInfo, size_t len)); #ifdef __cplusplus };