aboutsummaryrefslogtreecommitdiff
path: root/crypto.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-11 11:31:22 +0000
committerOmar Polo <op@omarpolo.com>2023-06-11 11:31:22 +0000
commitb8d68fc8e49b3eeac2ba3106e9694ef463a646e1 (patch)
treee3dace75ff4ba9c65e28678be0ea20b5dcc48e79 /crypto.c
parentd1739e3f03a014fa9baded61a49eeb49293c751f (diff)
fixes for -Wpointer-sign
Diffstat (limited to 'crypto.c')
-rw-r--r--crypto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto.c b/crypto.c
index 5da4970..29fd94d 100644
--- a/crypto.c
+++ b/crypto.c
@@ -122,7 +122,8 @@ crypto_dispatch_server(int fd, struct privsep_proc *p, struct imsg *imsg)
const void *from;
unsigned char *to;
size_t datalen;
- int n, len, ret;
+ int n, ret;
+ unsigned int len;
datalen = IMSG_DATA_SIZE(imsg);