repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
squelch compiler warnings in socket.c about integer sizes
[deb_libnfs.git]
/
lib
/
socket.c
diff --git
a/lib/socket.c
b/lib/socket.c
index 360e511c1fb68454fb0dcfc26c290994b7b826a3..71bb817f847f142aac2cbe53fa3efe33cb902c54 100644
(file)
--- a/
lib/socket.c
+++ b/
lib/socket.c
@@
-89,7
+89,7
@@
int rpc_which_events(struct rpc_context *rpc)
static int rpc_write_to_socket(struct rpc_context *rpc)
{
static int rpc_write_to_socket(struct rpc_context *rpc)
{
- int
64
_t count;
+ int
32
_t count;
if (rpc == NULL) {
return -1;
if (rpc == NULL) {
return -1;
@@
-133,7
+133,7
@@
static int rpc_read_from_socket(struct rpc_context *rpc)
int available;
int size;
int pdu_size;
int available;
int size;
int pdu_size;
- int
64
_t count;
+ int
32
_t count;
#if defined(WIN32)
if (ioctlsocket(rpc->fd, FIONREAD, &available) != 0) {
#if defined(WIN32)
if (ioctlsocket(rpc->fd, FIONREAD, &available) != 0) {