summaryrefslogtreecommitdiffstats
path: root/ax25/beacon.c
diff options
context:
space:
mode:
Diffstat (limited to 'ax25/beacon.c')
-rw-r--r--ax25/beacon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/beacon.c b/ax25/beacon.c
index b212ac8..d4f39c7 100644
--- a/ax25/beacon.c
+++ b/ax25/beacon.c
@@ -131,7 +131,7 @@ int main(int argc, char *argv[])
}
if (srccall != NULL && strcmp(srccall, portcall) != 0) {
- if ((addr = (char *) malloc(strlen(srccall) + 1 + strlen(portcall) + 1)) == NULL)
+ if ((addr = malloc(strlen(srccall) + 1 + strlen(portcall) + 1)) == NULL)
return 1;
sprintf(addr, "%s %s", srccall, portcall);
} else {