summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/src/auths/auth-spa.c2
1 files changed, 1 insertions, 1 deletions
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,