maxrecsize = size;
#ifdef SO_RCVBUF
while (size > 1024 &&
- setsockopt(0, SOL_SOCKET, SO_RCVBUF, &size, sizeof (size)) < 0)
+ setsockopt(0, SOL_SOCKET, SO_RCVBUF, (char *)&size, sizeof (size)) < 0)
size -= 1024;
#else
size= 1+((size-1)%1024);
extern char *index();
#endif
-#define _remdev(path) (!f_force_local && __rmt_path=index(path, ':'))
+#define _remdev(path) (!f_force_local && (__rmt_path=index(path, ':')))
#define _isrmt(fd) ((fd) >= __REM_BIAS)
#define rmtopen(path,oflag,mode) (_remdev(path) ? __rmt_open(path, oflag, mode, __REM_BIAS) : open(path, oflag, mode))