summaryrefslogtreecommitdiff
path: root/minecproxy/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'minecproxy/main.h')
-rw-r--r--minecproxy/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/minecproxy/main.h b/minecproxy/main.h
index f1f5df2..8c8add0 100644
--- a/minecproxy/main.h
+++ b/minecproxy/main.h
@@ -51,7 +51,7 @@ struct uring_task_buf {
struct uring_task {
const char *name;
- unsigned refcount;
+ int refcount; /* signed to catch refcount bugs */
int fd;
struct uring_task *parent;
void (*free)(struct uring_task *);