Build fixes
Fix setting options for appveyor
Add missing case statement for -Wx
diff --git a/src/cn-print.c b/src/cn-print.c
index 2eb76f4..6799362 100644
--- a/src/cn-print.c
+++ b/src/cn-print.c
@@ -165,7 +165,12 @@
write_data(ws, rgchT, cch);
break;
- case CN_CBOR_DOUBLE:
+ case CN_CBOR_FLOAT:
+ cch = _snprintf(rgchT, sizeof(rgchT), "%f", cb->v.f);
+ write_data(ws, rgchT, cch);
+ break;
+
+ case CN_CBOR_DOUBLE:
cch = _snprintf(rgchT, sizeof(rgchT), "%f", cb->v.dbl);
write_data(ws, rgchT, cch);
break;
@@ -188,6 +193,7 @@
}
write_data(ws, "\'", 1);
break;
+
}
if (depth > 0) {