From 8084961011a08a57ce09b1be4869be3296951b0c Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 8 Oct 2025 13:00:24 +0200 Subject: [PATCH] leapdb: fix compiler warning on NetBSD about isspace() --- leapdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leapdb.c b/leapdb.c index c5da0ad4..80da808b 100644 --- a/leapdb.c +++ b/leapdb.c @@ -130,7 +130,7 @@ get_list_leap(time_t when, int *tai_offset) char *p; /* Ignore blank lines */ - for (p = line; *p && isspace(*p); ++p) + for (p = line; *p && isspace((unsigned char)*p); ++p) ; if (!*p) continue; -- 2.47.3