summaryrefslogtreecommitdiff
path: root/apps/JAWS/server/IO.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-18 02:14:13 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-18 02:14:13 +0000
commit174db92e2956d2f04772b06c604e5291b6b8d0db (patch)
tree93dd0a51b8c8edb3eb5d319ffef1323e51288fae /apps/JAWS/server/IO.cpp
parent43a4e59aab6b5c790918c96b69f944b1b8b8653d (diff)
downloadATCD-174db92e2956d2f04772b06c604e5291b6b8d0db.tar.gz
ChangeLogTag:Thu Sep 17 18:53:05 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'apps/JAWS/server/IO.cpp')
-rw-r--r--apps/JAWS/server/IO.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/JAWS/server/IO.cpp b/apps/JAWS/server/IO.cpp
index 90e743642a5..d445d96fee1 100644
--- a/apps/JAWS/server/IO.cpp
+++ b/apps/JAWS/server/IO.cpp
@@ -125,19 +125,19 @@ JAWS_Synch_IO::transmit_file (const char *filename,
int iovcnt = 0;
if (header_size > 0)
{
- iov[iovcnt].iov_base = (char*)header;
+ iov[iovcnt].iov_base = ACE_const_cast(char*, header);
iov[iovcnt].iov_len = header_size;
iovcnt++;
}
if (handle.size () > 0)
{
- iov[iovcnt].iov_base = handle.address ();
+ iov[iovcnt].iov_base = ACE_reinterpret_cast(char*,handle.address ());
iov[iovcnt].iov_len = handle.size ();
iovcnt++;
}
if (trailer_size > 0)
{
- iov[iovcnt].iov_base = (char*)trailer;
+ iov[iovcnt].iov_base = ACE_const_cast(char*, trailer);
iov[iovcnt].iov_len = trailer_size;
iovcnt++;
}