Warning fix to avoid typecasting with OW elsewhere.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-10-19 21:10:42 +00:00
parent b870f2e67d
commit ceb3b0d8e2

View File

@@ -218,7 +218,12 @@ enum wxSeekMode
_write(fd, (const char *)buf, nCount)
#endif
#else
#if defined(__DMC__) || defined(__WATCOMC__)
#if defined(__WATCOMC__)
inline wxFileSize_t wxRead( int handle, void *buffer, wxFileSize_t len )
{ return ::read( handle, buffer, (unsigned int)len ); }
inline wxFileSize_t wxWrite( int handle, const void *buffer, wxFileSize_t len )
{ return ::write( handle, buffer, (unsigned int)len ); }
#elif defined(__DMC__)
#define wxRead ::read
#define wxWrite ::write
#else