diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-05-02 14:00:24 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-05-02 19:56:10 +0300 |
commit | c24779c9cc868704830deb8bde5ec1d7aee1097f (patch) | |
tree | 69da1db33b54d44a427c9b05437a78030495b1af /utils | |
parent | 2f80a71e0d402f17c7cefe80877d2ce8b331b769 (diff) | |
download | lcms2-c24779c9cc868704830deb8bde5ec1d7aee1097f.tar.gz |
utils/jpgicc/iccjpeg.c: add comment about uint checked to be less than zero.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/jpgicc/iccjpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/jpgicc/iccjpeg.c b/utils/jpgicc/iccjpeg.c index aa96c8b..b542b33 100644 --- a/utils/jpgicc/iccjpeg.c +++ b/utils/jpgicc/iccjpeg.c @@ -217,7 +217,7 @@ read_icc_profile (j_decompress_ptr cinfo, total_length += data_length[seq_no]; } - if (total_length <= 0) + if (total_length <= 0) /* total_length is unsigned so why check if it's less than zero? */ return FALSE; /* found only empty markers? */ /* Allocate space for assembled data */ |