mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:30:58 +00:00
itss: Avoid checking an unsigned value for < 0.
This commit is contained in:
parent
6b7957f4db
commit
b1c951b60d
|
@ -1326,7 +1326,7 @@ LONGINT64 chm_retrieve_object(struct chmFile *h,
|
|||
return (Int64)0;
|
||||
|
||||
/* starting address must be in correct range */
|
||||
if (addr < 0 || addr >= ui->length)
|
||||
if (addr >= ui->length)
|
||||
return (Int64)0;
|
||||
|
||||
/* clip length */
|
||||
|
|
Loading…
Reference in a new issue