itss: Avoid checking an unsigned value for < 0.

This commit is contained in:
Gerald Pfeifer 2007-11-22 22:36:13 +01:00 committed by Alexandre Julliard
parent 6b7957f4db
commit b1c951b60d
1 changed files with 1 additions and 1 deletions

View File

@ -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 */