These variables are being used to store the result of read/write calls,
which return a ssize_t value, which depending on platform can be bigger
than an int.
unsigned char *ptr = (unsigned char *) buf;
struct timeout timeout;
fd_set fds;
- int result;
+ ssize_t result;
timeout_start(&timeout, timeout_ms);
unsigned char *ptr = (unsigned char *) buf;
struct timeout timeout;
fd_set fds;
- int result;
+ ssize_t result;
timeout_start(&timeout, timeout_ms);
size_t bytes_read = 0;
struct timeout timeout;
fd_set fds;
- int result;
+ ssize_t result;
timeout_start(&timeout, timeout_ms);