aboutsummaryrefslogtreecommitdiff
path: root/lib/ipx.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ipx.c')
-rw-r--r--lib/ipx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ipx.c b/lib/ipx.c
index 13d2761..1359f5f 100644
--- a/lib/ipx.c
+++ b/lib/ipx.c
@@ -42,7 +42,7 @@
#endif
/* Display a ipx domain address. */
-static char *IPX_print(unsigned char *ptr)
+static const char *IPX_print(const char *ptr)
{
static char buff[64];
struct sockaddr_ipx *sipx = (struct sockaddr_ipx *) (ptr - 2);
@@ -73,7 +73,7 @@ static char *IPX_print(unsigned char *ptr)
/* Display a ipx domain address. */
-static char *IPX_sprint(struct sockaddr *sap, int numeric)
+static const char *IPX_sprint(struct sockaddr *sap, int numeric)
{
static char buf[64];