aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/pilot-link/patches/fix-ai_non_const.patch
blob: 2cd9cf98a791c253d94f8f050d5552876dd065d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/libpisock/address.c	2016-12-20 13:56:43.913681767 +0100
+++ b/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;
--- a/include/pi-address.h	2007-01-15 01:29:59.000000000 +0100
+++ b/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
   };