Compilation targeting c64
Adds some casts required by cc65 compiler and small fixes
This commit is contained in:
parent
8e6c6cc45b
commit
c2a0f739f7
5 changed files with 20 additions and 3 deletions
|
@ -155,10 +155,13 @@ make_tcp_stats(void *arg)
|
|||
{
|
||||
struct uip_conn *conn;
|
||||
struct httpd_state *s = (struct httpd_state *)arg;
|
||||
#if NETSTACK_CONF_WITH_IPV6
|
||||
char buf[48];
|
||||
#endif
|
||||
|
||||
conn = &uip_conns[s->u.count];
|
||||
|
||||
#if NETSTACK_CONF_WITH_IPV6
|
||||
char buf[48];
|
||||
httpd_sprint_ip6(conn->ripaddr, buf);
|
||||
return snprintf((char *)uip_appdata, uip_mss(),
|
||||
"<tr align=\"center\"><td>%d</td><td>%s:%u</td><td>%s</td><td>%u</td><td>%u</td><td>%c %c</td></tr>\r\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue