From: Ronnie Sahlberg Date: Sat, 18 Jun 2011 23:05:20 +0000 (+1000) Subject: get rid of compiler warning X-Git-Tag: upstream/1.9.6^2~399 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5f9d02f8396f090b406090427bb74a0997525ac1;p=deb_libnfs.git get rid of compiler warning --- diff --git a/lib/libnfs.c b/lib/libnfs.c index e4a19a8..da47e85 100644 --- 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; } }