summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ax25ipd/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25ipd/process.c b/ax25ipd/process.c
index 07bd570..97faabb 100644
--- a/ax25ipd/process.c
+++ b/ax25ipd/process.c
@@ -232,7 +232,7 @@ void do_beacon(void)
*p++ = 0xf0; /* Protocol ID -- 0xf0 is no protocol */
- strcpy(p, bc_text); /* add the text field */
+ strcpy((char *)p, bc_text); /* add the text field */
bclen = 16 + strlen(bc_text); /* adjust the length nicely */
}