From b8fc75b3728d523ae83d02de92e1cfb002d25c9d Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 18 Apr 2015 19:12:19 +0100 Subject: Fix signedness bug in SPA authenticator --- src/src/auths/auth-spa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/src/auths/auth-spa.c b/src/src/auths/auth-spa.c index 7ad5a1de8..9abc7b778 100644 --- a/src/src/auths/auth-spa.c +++ b/src/src/auths/auth-spa.c @@ -368,7 +368,7 @@ void mdfour (unsigned char *out, unsigned char *in, int n); static const char base64digits[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; -#define BAD -1 +#define BAD (char) -1 static const char base64val[] = { BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, BAD, -- cgit v1.2.3