Skip to content

Commit 25eefeb

Browse files
committed
Change an int to a bool in NBT code
1 parent 9c0aa43 commit 25eefeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void nbt_struct_add(struct nbt_tag *s, struct nbt_tag *field)
157157

158158
/* NBT serialization code */
159159

160-
static void format_tag(GByteArray *arr, struct nbt_tag *tag, int only_payload)
160+
static void format_tag(GByteArray *arr, struct nbt_tag *tag, bool only_payload)
161161
{
162162
if (!only_payload)
163163
{

0 commit comments

Comments
 (0)