fixup! fixup! implement alignment-safe ntoh16p() && ntoh32p()
diff --git a/src/cn-cbor.c b/src/cn-cbor.c
index b5759e6..9093537 100644
--- a/src/cn-cbor.c
+++ b/src/cn-cbor.c
@@ -51,7 +51,7 @@
#define ntoh8p(p) (*(unsigned char*)(p))
-#ifndef CBOR_ALIGN_MEMREADS
+#ifndef CBOR_ALIGN_READS
#define ntoh16p(p) (ntohs(*(unsigned short*)(p)))
#define ntoh32p(p) (ntohl(*(unsigned long*)(p)))
#else
@@ -66,7 +66,7 @@
memcpy(&tmp, p, sizeof(tmp));
return ntohl(tmp);
}
-#endif
+#endif /* CBOR_ALIGN_READS */
static uint64_t ntoh64p(unsigned char *p) {
uint64_t ret = ntoh32p(p);