cgmnlm

colorful gemini line mode browser
git clone https://git.clttr.info/cgmnlm.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 514cb373019e94f743424b2813602722ca09b917
parent 75087ce65f54c86d44ce13bb63e1041226a53f7b
Author: Joe Jenne <joe@jhjn.xyz>
Date:   Thu, 29 Oct 2020 22:54:27 +0000

Fix const comparison Werror

Diffstat:
Msrc/client.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/client.c b/src/client.c @@ -212,7 +212,7 @@ gemini_request(const char *url, struct gemini_options *options, char *endptr; resp->status = (enum gemini_status)strtol(buf, &endptr, 10); - if (*endptr != ' ' || resp->status < 10 || resp->status >= 70) { + if (*endptr != ' ' || resp->status < 10 || (int)resp->status >= 70) { fprintf(stderr, "invalid status\n"); res = GEMINI_ERR_PROTOCOL; goto cleanup;