* httpd.c: Fix warnings on some systems with mem_malloc.

This commit is contained in:
jifl 2008-03-04 16:40:50 +00:00
parent 7692d054a6
commit 19cd8d9d9a

View File

@ -212,7 +212,7 @@ http_accept(void *arg, struct tcp_pcb *pcb, err_t err)
/* Allocate memory for the structure that holds the state of the
connection. */
hs = mem_malloc(sizeof(struct http_state));
hs = (struct http_state *)mem_malloc(sizeof(struct http_state));
if (hs == NULL) {
printf("http_accept: Out of memory\n");