mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 15:03:53 +01:00
sys/ubjson: Write missing marker for i64
This commit is contained in:
parent
ea36d68703
commit
1b554d5701
@ -104,6 +104,7 @@ ssize_t ubjson_write_i64(ubjson_cookie_t *restrict cookie, int64_t value)
|
||||
}
|
||||
|
||||
ssize_t result = 0;
|
||||
WRITE_MARKER(UBJSON_MARKER_INT64);
|
||||
network_uint64_t buf = byteorder_htonll((uint64_t) value);
|
||||
WRITE_BUF(&buf, sizeof(buf));
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user