From baab19ee1964f2b91650a709c214e0fa7f04503b Mon Sep 17 00:00:00 2001 From: joncruz Date: Fri, 21 Mar 2008 05:06:19 +0000 Subject: [PATCH] Signed cleanup --- src/color-profile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color-profile.cpp b/src/color-profile.cpp index ecc0bcd4e..596e22d7a 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -612,7 +612,7 @@ static void findThings() { ssize_t got = read(fd, scratch, len); if ( got != -1 ) { size_t calcSize = (scratch[0] << 24) | (scratch[1] << 16) | (scratch[2] << 8) | scratch[3]; - if ( calcSize > 128 && calcSize <= st.st_size ) { + if ( calcSize > 128 && calcSize <= static_cast(st.st_size) ) { isIccFile = (scratch[36] == 'a') && (scratch[37] == 'c') && (scratch[38] == 's') && (scratch[39] == 'p'); } } -- 2.30.2