X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f9ba5e2255cf18092750fffacb6a9603571a2be5..1d28cc061677bd07d9bed48dd84bd5c590247043:/src/src/imap_utf7.c diff --git a/src/src/imap_utf7.c b/src/src/imap_utf7.c index 501ceaf00..1c09db621 100644 --- a/src/src/imap_utf7.c +++ b/src/src/imap_utf7.c @@ -1,5 +1,6 @@ /* Copyright (c) University of Cambridge 1995 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #include "exim.h" @@ -14,7 +15,7 @@ static uschar encode_base64[64] = size_t slen; uschar *sptr; gstring * yield = NULL; -int i = 0, j; /* compiler quietening */ +int i = 0; /* compiler quietening */ uschar c = 0; /* compiler quietening */ BOOL base64mode = FALSE; BOOL lastsep = FALSE; @@ -106,7 +107,7 @@ while (slen > 0) i = 0; } - for (j = 0; j < 2; j++, s++) switch (i++) + for (int j = 0; j < 2; j++, s++) switch (i++) { case 0: /* Top 6 bits of the first octet */