summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-30 17:42:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-30 17:42:25 +0000
commit707d4d00d68a136ef4c84c011cfa0db273ca3a93 (patch)
tree8f458bfc06c444e882bca48e0a6e7d42939d89cb /c
parentFixed typo where _POSIX_signals_Clear_process_signals was not prototyped (diff)
downloadrtems-707d4d00d68a136ef4c84c011cfa0db273ca3a93.tar.bz2
Removed warning for const removal.
Diffstat (limited to 'c')
-rw-r--r--c/src/exec/libcsupport/src/libio_sockets.c2
-rw-r--r--c/src/lib/libc/libio_sockets.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/libcsupport/src/libio_sockets.c b/c/src/exec/libcsupport/src/libio_sockets.c
index 8d21120f3d..61d46c09f1 100644
--- a/c/src/exec/libcsupport/src/libio_sockets.c
+++ b/c/src/exec/libcsupport/src/libio_sockets.c
@@ -59,6 +59,6 @@ int rtems_bsdnet_makeFdForSocket(
iop->flags |= LIBIO_FLAGS_WRITE | LIBIO_FLAGS_READ;
iop->data0 = fd;
iop->data1 = so;
- iop->handlers = h;
+ iop->handlers = (rtems_filesystem_file_handlers_r *) h;
return fd;
}
diff --git a/c/src/lib/libc/libio_sockets.c b/c/src/lib/libc/libio_sockets.c
index 8d21120f3d..61d46c09f1 100644
--- a/c/src/lib/libc/libio_sockets.c
+++ b/c/src/lib/libc/libio_sockets.c
@@ -59,6 +59,6 @@ int rtems_bsdnet_makeFdForSocket(
iop->flags |= LIBIO_FLAGS_WRITE | LIBIO_FLAGS_READ;
iop->data0 = fd;
iop->data1 = so;
- iop->handlers = h;
+ iop->handlers = (rtems_filesystem_file_handlers_r *) h;
return fd;
}