aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd36/files/patch-imap__jmap_mail_submission.c
blob: 92ae405cb62b7e678d580e55d501710e42d25e18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- imap/jmap_mail_submission.c.orig	2022-03-06 23:01:23 UTC
+++ imap/jmap_mail_submission.c
@@ -223,7 +223,7 @@ static int _emailsubmission_address_parse(json_t *addr
 
             if (!strcasecmp(key, "HOLDFOR")) {
                 char *endptr = (char *) val;
-                ulong interval = val ? strtoul(val, &endptr, 10) : ULONG_MAX;
+                unsigned long interval = val ? strtoul(val, &endptr, 10) : ULONG_MAX;
                 time_t now = time(0);
 
                 if (endptr == val || *endptr != '\0' ||