summaryrefslogtreecommitdiffstats
path: root/src/color-profile.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2008-03-21 05:06:19 +0000
committerjoncruz <joncruz@users.sourceforge.net>2008-03-21 05:06:19 +0000
commita8a59180627da3f3c6a1b7bcc79ec82c3f77365b (patch)
treee587992b8dc65bc89784d1336502539aa43c3ea3 /src/color-profile.cpp
parentFinally! All of the svg-dom classes and dependencies have native implementati... (diff)
downloadinkscape-a8a59180627da3f3c6a1b7bcc79ec82c3f77365b.tar.gz
inkscape-a8a59180627da3f3c6a1b7bcc79ec82c3f77365b.zip
Signed cleanup
(bzr r5139)
Diffstat (limited to 'src/color-profile.cpp')
-rw-r--r--src/color-profile.cpp2
1 files changed, 1 insertions, 1 deletions
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<size_t>(st.st_size) ) {
isIccFile = (scratch[36] == 'a') && (scratch[37] == 'c') && (scratch[38] == 's') && (scratch[39] == 'p');
}
}