Commit b1c951b6 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

itss: Avoid checking an unsigned value for < 0.

parent 6b7957f4
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment