aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-07-08 20:18:26 +0000
committerOmar Polo <op@omarpolo.com>2024-07-08 20:18:26 +0000
commit5adfab93e4e3d81d2b47d3c2575942742e94b546 (patch)
tree1ab6f5cf65faec497ce5958325fe9ec6d1c4cc31
parent6c57d2002bb318a9069ae48355ab46ac64a3a7b5 (diff)
change the type for read_pos
-rw-r--r--gmid.h2
1 files changed, 1 insertions, 1 deletions
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;
};