From ad7a8a59a6d3e9ba17015f10c49571d9f1c749c2 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Mon, 4 Oct 2010 18:00:17 +0000 Subject: [PATCH] nfc-emulate: Use a better const byte_t notation (no \0 EOL character). --- examples/nfc-emulate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nfc-emulate.c b/examples/nfc-emulate.c index b9e8c32..4334d2e 100644 --- a/examples/nfc-emulate.c +++ b/examples/nfc-emulate.c @@ -110,8 +110,8 @@ main (int argc, char *argv[]) // Note: We have to build a "fake" nfc_target_t in order to do exactly the same that was done before the new nfc_target_init() was introduced. nfc_target_t nt = { .ntt = NTT_GENERIC_PASSIVE_106, - .nti.nai.abtAtqa = "\x04\x00", - .nti.nai.abtUid = "\xde\xad\xbe\xaf\x62", + .nti.nai.abtAtqa = { 0x04, 0x00 }, + .nti.nai.abtUid = { 0xde, 0xad, 0xbe, 0xaf, 0x62 }, .nti.nai.btSak = 0x20, .nti.nai.szUidLen = 5, .nti.nai.szAtsLen = 0,