Windows: read and write take void* buffers, open takes a const char*
authorRod Widdowson <rdw@steadingsoftware.com>
Sun, 23 Jan 2011 10:59:28 +0000 (10:59 +0000)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 25 Jan 2011 09:46:22 +0000 (01:46 -0800)
commit6d2636b886789f2ddc6374c6b7e58ccd28d518aa
tree7d60fb2d5fe62c3b69659ee603ee0b8d5156e4fa
parent42c5806599c1df65ee8ec1272f691df30ea44d4c
Windows: read and write take void* buffers, open takes a const char*

nt_read and nt_write were defined to take a char* buffer which was
then cast to a void *.  Meantime every call of OS_READ and
OS_WRITE were casting to a char*.

Equally every call of OS_OPEN was passing down a const char*,
causing warnings.

This checkin fixes this:
 nt_read : char* to void*
 nt_write: char* to const void*
 nt_open char*  to const char*

Change-Id: Id4e138b9d347e1a9f35241e162a105d5f462b168
Reviewed-on: http://gerrit.openafs.org/3744
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/vol/namei_ops.c
src/vol/ntops.c
src/vol/ntops.h