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 New Issue