Fix build error with type byte

Fix build error with type byte
diff --git a/src/cn-encoder.c b/src/cn-encoder.c
index 5ec123e..a476b82 100644
--- a/src/cn-encoder.c
+++ b/src/cn-encoder.c
@@ -45,7 +45,7 @@
   return; \
 }
 
-inline void write_byte_and_data(cn_write_state * ws, byte b, const byte * data, size_t sz)
+inline void write_byte_and_data(cn_write_state * ws, uint8_t b, const uint8_t * data, size_t sz)
 {
 	if (ws->buf != NULL) {
 		ws->buf[ws->offset++] = (b);