1
0
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:
Frank Hessel 2019-06-14 19:31:48 +02:00
parent ea36d68703
commit 1b554d5701
No known key found for this signature in database
GPG Key ID: E4DB68890A128F7B

View File

@ -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;