summaryrefslogtreecommitdiff
path: root/pr/src/io/priometh.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/src/io/priometh.c')
-rw-r--r--pr/src/io/priometh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/src/io/priometh.c b/pr/src/io/priometh.c
index 1ca474f0..b1606fce 100644
--- a/pr/src/io/priometh.c
+++ b/pr/src/io/priometh.c
@@ -365,7 +365,7 @@ PR_IMPLEMENT(PRInt32) PR_EmulateSendFile(
goto done;
}
if (sfd->file_nbytes &&
- (info.size < (sfd->file_offset + sfd->file_nbytes))) {
+ ((PRUint32)info.size < (sfd->file_offset + sfd->file_nbytes))) {
/*
* there are fewer bytes in file to send than specified
*/