int16 blobmsg type is currently being serialized as uint16_t due to missing cast during JSON output. Following blobmsg content: bar-min: -32768 (i16) bar-max: 32767 (i16) Produces following JSON: { "bar-min":32768,"bar-max":32767 } Whereas one would expect: { "bar-min":-32768,"bar-max":32767 } Reviewed-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Petr Štetiar <ynezz@true.cz> |
||
---|---|---|
.. | ||
inputs | ||
CMakeLists.txt | ||
test_avl.t | ||
test_base64.t | ||
test_blob_parse.t | ||
test_blobmsg.t | ||
test_blobmsg_parse.t | ||
test_blobmsg_procd_instance.t | ||
test_jshn.t | ||
test_json_script.t | ||
test_list.t | ||
test_runqueue.t |