aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd312/files/patch-imap__jmap_mail_submission.c
blob: 56b26563b6b211fc3ccadd6d5719dbc7282840fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- imap/jmap_mail_submission.c.orig	2023-03-01 02:54:30 UTC
+++ imap/jmap_mail_submission.c
@@ -229,7 +229,7 @@ static int _emailsubmission_address_parse(json_t *addr
             if (holduntil) {
                 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' ||