missed fil
diff --git a/src/cn-encoder.c b/src/cn-encoder.c
index e9392c0..a6f14f9 100644
--- a/src/cn-encoder.c
+++ b/src/cn-encoder.c
@@ -48,7 +48,7 @@
 } cn_write_state;
 
 #define ensure_writable(sz)                                                          \
-	if ((ws->buf != NULL) && ((ws->offset < 0) || (ws->offset + (sz) > ws->size))) { \
+	if ((ws->buf != NULL) && (ws->offset + (sz) > ws->size)) { \
 		return false;                                                                \
 	}