Skip to content

Commit 961ceb8

Browse files
authored
Update cleaners.cpp - Really fix print size_t
1 parent f89fc3c commit 961ceb8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/cleaners.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static bool clean_block(color_ostream &out, df::map_block *block, const cuboid &
154154
// Only delete blev if empty
155155
if (blev->isEmpty())
156156
{ // Block was already empty of mud, or we just made it so
157-
DEBUG(log, out).print("Deleting mud blev at index %u\n", i);
157+
DEBUG(log, out).print("Deleting mud blev at index %lu\n", i);
158158
DEL_BLEV
159159
}
160160
continue; // Next blev
@@ -213,7 +213,7 @@ static bool clean_block(color_ostream &out, df::map_block *block, const cuboid &
213213
// Only delete blev if empty
214214
if (blev->isEmpty())
215215
{ // Block was already empty of grass type, or we just made it so
216-
DEBUG(log, out).print("Deleting grass blev at index %u\n", i);
216+
DEBUG(log, out).print("Deleting grass blev at index %lu\n", i);
217217
DEL_BLEV
218218
}
219219
continue; // Next blev
@@ -223,7 +223,7 @@ static bool clean_block(color_ostream &out, df::map_block *block, const cuboid &
223223

224224
if (full_block || blev->isEmpty())
225225
{ // Always delete a full block, else ensure blev empty
226-
DEBUG(log, out).print("Deleting blev at index %u\n", i);
226+
DEBUG(log, out).print("Deleting blev at index %lu\n", i);
227227
DEL_BLEV
228228
}
229229
// Next blev

0 commit comments

Comments
 (0)