repositories
/
deb_libnfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbbf9d3
)
get rid of compiler warning
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 18 Jun 2011 23:05:20 +0000
(09:05 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Sat, 18 Jun 2011 23:05:20 +0000
(09:05 +1000)
lib/libnfs.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/libnfs.c
b/lib/libnfs.c
index e4a19a853d52e52a0ed40074790179237e887275..da47e858b78fbd4f23e370a3e6c847f12e9a4c0b 100644
(file)
--- a/
lib/libnfs.c
+++ b/
lib/libnfs.c
@@
-855,7
+855,7
@@
static void nfs_pread_mcb(struct rpc_context *rpc _U_, int status, void *command
data->error = 1;
} else {
memcpy(&data->buffer[mdata->offset], res->READ3res_u.resok.data.data_val, res->READ3res_u.resok.count);
- if (data->max_offset < mdata->offset + res->READ3res_u.resok.count) {
+ if (
(unsigned)
data->max_offset < mdata->offset + res->READ3res_u.resok.count) {
data->max_offset = mdata->offset + res->READ3res_u.resok.count;
}
}