aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_schematic.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unittest/test_schematic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest/test_schematic.cpp b/src/unittest/test_schematic.cpp
index df47d2bc0..480124428 100644
--- a/src/unittest/test_schematic.cpp
+++ b/src/unittest/test_schematic.cpp
@@ -99,7 +99,7 @@ void TestSchematic::testMtsSerializeDeserialize(INodeDefManager *ndef)
UASSERT(schem2.size == size);
for (size_t i = 0; i != volume; i++)
UASSERT(schem2.schemdata[i] == schem.schemdata[i]);
- for (size_t y = 0; y != size.Y; y++)
+ for (s16 y = 0; y != size.Y; y++)
UASSERTEQ(u8, schem2.slice_probs[y], schem.slice_probs[y]);
}