Use hexa representation for error displaying

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-09-18 01:34:47 +02:00
parent da7b918dc4
commit 5e0c42a9f9

View File

@@ -57,7 +57,7 @@ extern const bool _btrue, _bfalse;
do \ do \
{ \ { \
error = e; \ error = e; \
printf("Cbor ERROR [%s:%d]: %d\n", __FILE__, __LINE__, e); \ printf("Cbor ERROR [%s:%d]: %x\n", __FILE__, __LINE__, e); \
goto err; \ goto err; \
} while (0) } while (0)