From 5adfab93e4e3d81d2b47d3c2575942742e94b546 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 8 Jul 2024 20:18:26 +0000 Subject: [PATCH] change the type for read_pos --- gmid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmid.h b/gmid.h index 2dc1ba1..c179f8a 100644 --- a/gmid.h +++ b/gmid.h @@ -302,7 +302,7 @@ struct proxy_protocol_v1 { struct buflayer { char data[BUFLAYER_MAX]; size_t len; - ssize_t read_pos; + size_t read_pos; int has_tail; };