send fix signed of length variable
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 20 Aug 2023 07:50:29 +0000 (09:50 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Thu, 24 Aug 2023 19:35:17 +0000 (21:35 +0200)
uip/send.c

index f4169ee..1df2fa9 100644 (file)
@@ -333,7 +333,7 @@ attach(char *draft_file_name)
        int compnum;
        int finished_header = 0;
        char buf[MAXPATHLEN + 6];
-       int length = strlen(attach_hdr);
+       size_t length = strlen(attach_hdr);
        char *p;
 
        if(distfile) {