diff options
Diffstat (limited to 'src/base64.c')
-rw-r--r-- | src/base64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base64.c b/src/base64.c index 80022607b..144c51bec 100644 --- a/src/base64.c +++ b/src/base64.c @@ -240,7 +240,7 @@ int b64_decode(const char *src, char *target, size_t targsize) case 2: /* Valid, means one byte of info */ /* Skip any number of spaces. */ - for ((void) NULL; ch != '\0'; ch = *src++) + for (; ch != '\0'; ch = *src++) if (!isspace(ch)) break; /* Make sure there is another trailing = sign. */ @@ -255,7 +255,7 @@ int b64_decode(const char *src, char *target, size_t targsize) * We know this char is an =. Is there anything but * whitespace after it? */ - for ((void) NULL; ch != '\0'; ch = *src++) + for (; ch != '\0'; ch = *src++) if (!isspace(ch)) return (-1); |