summaryrefslogtreecommitdiffstats
path: root/user_call/ax25_call.c
diff options
context:
space:
mode:
Diffstat (limited to 'user_call/ax25_call.c')
-rw-r--r--user_call/ax25_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_call/ax25_call.c b/user_call/ax25_call.c
index cbedf63..9475e1a 100644
--- a/user_call/ax25_call.c
+++ b/user_call/ax25_call.c
@@ -95,7 +95,7 @@ int main(int argc, char **argv)
err(buffer);
}
- if (ax25_aton_arglist(argv + optind + 2, &axconnect) == -1) {
+ if (ax25_aton_arglist((const char**)(&argv[optind + 2]), &axconnect) == -1) {
sprintf(buffer, "ERROR: invalid destination callsign or digipeater\r");
err(buffer);
}