summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2012-02-19 13:26:01 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2012-02-19 13:26:01 +0000
commite1de7b7db139b311f1d8e1ec36d9d3361213164d (patch)
tree3df7957dbd3976240cc0307f2278d7490400fd06
parent285c2fd3b7ea7d6fa79f710d9b61f960269bf4de (diff)
fixed MacOSX compile. no whatsnew.
src/lib/util/chd.c: In member function 'chd_error chd_file::compress_v5_map()': src/lib/util/chd.c:1660: warning: comparison is always true due to limited range of data type
-rw-r--r--src/lib/util/chd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/chd.c b/src/lib/util/chd.c
index 88cb82cb53c..788c588d3ac 100644
--- a/src/lib/util/chd.c
+++ b/src/lib/util/chd.c
@@ -1657,7 +1657,7 @@ chd_error chd_file::compress_v5_map()
}
// track maximum compressed length
- else if (curcomp >= COMPRESSION_TYPE_0 && curcomp <= COMPRESSION_TYPE_3)
+ else //if (curcomp >= COMPRESSION_TYPE_0 && curcomp <= COMPRESSION_TYPE_3)
max_complen = MAX(max_complen, be_read(&m_rawmap[hunknum * 12 + 1], 3));
// track repeats