Fix these comile errors
diff --git a/src/cn-print.c b/src/cn-print.c
index ca0f065..ce5fb9e 100644
--- a/src/cn-print.c
+++ b/src/cn-print.c
@@ -46,7 +46,7 @@
 	if (ws->rgbOutput == NULL) {
 		return true;
 	}
-	if ((ws->ib < 0) || (ws->ib + cb > ws->cbLeft)) {
+	if (ws->ib + cb > ws->cbLeft) {
 		ws->ib = -1;
 		return false;
 	}
@@ -92,7 +92,7 @@
 
 bool _print_encoder(const cn_cbor *cb, int depth, void *context)
 {
-	int i;
+	size_t i;
 	char rgchT[256];
 	int cch;
 	cn_write_state *ws = (cn_write_state *)context;