From fb7fc1990d1d97fb6be81f2200ad7e3263d49f87 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 17 Mar 2009 21:49:44 +0000 Subject: [PATCH] Fix types to make cc65 happy --- apps/shell/shell-tcpsend.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/shell/shell-tcpsend.c b/apps/shell/shell-tcpsend.c index f6337fd03..1d2eac5b0 100644 --- a/apps/shell/shell-tcpsend.c +++ b/apps/shell/shell-tcpsend.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: shell-tcpsend.c,v 1.3 2009/03/17 20:12:55 adamdunkels Exp $ + * $Id: shell-tcpsend.c,v 1.4 2009/03/17 21:49:44 adamdunkels Exp $ */ #include @@ -135,6 +135,7 @@ telnet_connected(struct telnet_state *s) PROCESS_THREAD(shell_tcpsend_process, ev, data) { char *next; + const char *dummy; struct shell_input *input; uint16_t port; @@ -149,7 +150,7 @@ PROCESS_THREAD(shell_tcpsend_process, ev, data) *next = 0; ++next; strncpy(server, data, sizeof(server)); - port = shell_strtolong(next, &next); + port = shell_strtolong(next, &dummy); running = 1;