Skip to content

Commit 7f7eed7

Browse files
committed
comment to clarify
1 parent a95938a commit 7f7eed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/fireball/fireballs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ void fireball_parse_tbl()
419419
}
420420

421421
for (int j = 1; j < fi.lod_count; ++j)
422-
sprintf(fi.lod[j].filename, "%.*s_%d", MAX_FILENAME_LEN - 3, lod0, j % MAX_FIREBALL_LOD);
422+
sprintf(fi.lod[j].filename, "%.*s_%d", MAX_FILENAME_LEN - 3, lod0, j % MAX_FIREBALL_LOD /*to show gcc12 format string is safe*/);
423423
}
424424
}
425425

0 commit comments

Comments
 (0)