From b8027e1aaff746661b0f332ff7920cc226a46deb Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Mon, 19 Dec 2022 22:21:24 +0000 Subject: [PATCH] Fix compiler warning on some platforms. --- src/Matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Matrix.c b/src/Matrix.c index c51b04b..9f87928 100644 --- a/src/Matrix.c +++ b/src/Matrix.c @@ -432,7 +432,7 @@ MatrixAuthenticate(HttpServerContext * context, Db * db) token += 8; /* Seek past any spaces between "Bearer" and the token */ - while (*token && isspace(*token)) + while (*token && isspace((unsigned char) *token)) { token++; }