Bug fixes

This commit is contained in:
2025-11-03 18:32:14 +01:00
parent e135d871c1
commit 31a4b2cc32
5 changed files with 38 additions and 31 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ bool binary_read(BinaryReader *reader, void *dst, int len)
void message_writer_init(MessageWriter *writer, ByteQueue *output, uint16_t type)
{
uint16_t version = MESSAGE_VERSION;
uint16_t dummy = 0; // Dummy value
uint32_t dummy = 0; // Dummy value
writer->output = output;
writer->start = byte_queue_offset(output);
byte_queue_write(output, &version, sizeof(version));