aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/spadbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyper/spadbuf.c')
-rw-r--r--src/hyper/spadbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hyper/spadbuf.c b/src/hyper/spadbuf.c
index dbe926ea..98c1687a 100644
--- a/src/hyper/spadbuf.c
+++ b/src/hyper/spadbuf.c
@@ -46,7 +46,7 @@
#include <sys/types.h>
#include <sys/time.h>
#include <signal.h>
-
+#include "halloc.h"
#include "bsdsignal.h"
#include "sockio.h"
#include "edible.h"
@@ -136,7 +136,7 @@ interp_io(void)
return;
}
if (FD_ISSET(session_sock->socket, &rd)) {
- len = sread(session_sock, buf, 1024, "stdio");
+ len = sread(session_sock, (openaxiom_byte*) buf, 1024, "stdio");
if (len == -1)
return;
else {