diff options
| author | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-11-28 18:39:34 +0200 |
|---|---|---|
| committer | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-11-28 18:39:34 +0200 |
| commit | b643b7eec3958c2e7eb807bcf6fc899f9623a343 (patch) | |
| tree | a7893304e96f34528bfa3d90fa2683a870c8fad7 | |
| parent | a607ebcecce18ccec5c643ad7ba0a46727032686 (diff) | |
Fix header for encoded FP64 values.
| -rw-r--r-- | src/libecbor/ecbor_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libecbor/ecbor_encoder.c b/src/libecbor/ecbor_encoder.c index c0d8f9a..5b5a9c9 100644 --- a/src/libecbor/ecbor_encoder.c +++ b/src/libecbor/ecbor_encoder.c @@ -333,7 +333,7 @@ ecbor_encode (ecbor_encode_context_t *context, ecbor_item_t *item) /* write header */ rc = ecbor_encode_header (context, ECBOR_TYPE_SPECIAL, - ECBOR_ADDITIONAL_4BYTE); + ECBOR_ADDITIONAL_8BYTE); if (rc != ECBOR_OK) { return rc; } |
