Skip to content
Permalink
Browse files

WIN32: fix compile warnings in nfs.c

  • Loading branch information...
sahlberg authored and sahlberg committed Sep 20, 2016
1 parent 53f6344 commit 563c112343b1489fbb85787ee4273a46a787f44b
Showing with 3 additions and 3 deletions.
  1. +3 −3 nfs/nfs.c
@@ -309,7 +309,7 @@ int rpc_nfs_read_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *fh, u
args.file.data.data_len = fh->data.data_len;
args.file.data.data_val = fh->data.data_val;
args.offset = offset;
args.count = count;
args.count = (count3)count;

return rpc_nfs3_read_async(rpc, cb, &args, private_data);
}
@@ -346,10 +346,10 @@ int rpc_nfs_write_async(struct rpc_context *rpc, rpc_cb cb, struct nfs_fh3 *fh,
memset(&args, 0, sizeof(WRITE3args));
args.file.data.data_len = fh->data.data_len;
args.file.data.data_val = fh->data.data_val;
args.offset = offset;
args.offset = (count3)offset;
args.count = count;
args.stable = stable_how;
args.data.data_len = count;
args.data.data_len = (count3)count;
args.data.data_val = buf;

return rpc_nfs3_write_async(rpc, cb, &args, private_data);

0 comments on commit 563c112

Please sign in to comment.
You can’t perform that action at this time.