1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

Compiler indicated cleanups

This commit is contained in:
Mark Pizzolato
2014-01-06 13:14:16 -08:00
parent 76fc90f405
commit 0e753b7c45
9 changed files with 31 additions and 10 deletions

View File

@@ -3013,7 +3013,7 @@ do {
u_char buf[ETH_MAX_JUMBO_FRAME];
memset(&header, 0, sizeof(header));
len = (int)sim_read_sock (dev->fd_handle, buf, (int32)sizeof(buf));
len = (int)sim_read_sock (dev->fd_handle, (char *)buf, (int32)sizeof(buf));
if (len > 0) {
status = 1;
header.caplen = header.len = len;