aboutsummaryrefslogtreecommitdiffstats
path: root/rpa.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpa.c')
-rw-r--r--rpa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/rpa.c b/rpa.c
index ccc7d509..79e4d8ab 100644
--- a/rpa.c
+++ b/rpa.c
@@ -419,10 +419,12 @@ int socket;
globals: none
*********************************************************************/
-static void LenAppend(pptr,len)
-char **pptr;
+static void LenAppend(pptr_,len)
+char **pptr_;
int len;
{
+ unsigned char **pptr = (unsigned char **)pptr_;
+
if (len < 0x80)
{
**pptr = len; (*pptr)++;