Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mm2/Little-CMS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2013-05-02 15:00:24 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2013-05-02 20:56:10 +0400
commitc24779c9cc868704830deb8bde5ec1d7aee1097f (patch)
tree69da1db33b54d44a427c9b05437a78030495b1af /utils/jpgicc
parent2f80a71e0d402f17c7cefe80877d2ce8b331b769 (diff)
utils/jpgicc/iccjpeg.c: add comment about uint checked to be less than zero.
Diffstat (limited to 'utils/jpgicc')
-rw-r--r--utils/jpgicc/iccjpeg.c2
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 */