Skip to content

Commit 83f95ba

Browse files
committed
Fix printf type for int64_t in block_type fatal
1 parent dc66782 commit 83f95ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WARDuino/WARDuino.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ Type *get_block_type(Module *m, uint8_t type) {
9696
}
9797
} else {
9898
if ((uint32_t)type_s >= m->type_count) {
99-
FATAL("block_type index out of bounds: %lld >= %u\n", type_s,
100-
m->type_count);
99+
FATAL("block_type index out of bounds: %lld >= %u\n",
100+
(long long)type_s, m->type_count);
101101
return nullptr;
102102
}
103103
return &m->types[type_s];

0 commit comments

Comments
 (0)