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
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

View File

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