ansilove

ANSI and ASCII art to PNG converter in C
Log | Files | Refs | README | LICENSE

commit 6b9cf607df4d4fc14760401f4b55a17fb5179523
parent 516d3b445b1cb0d8439e05b786558859cf08acb3
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 11 Jul 2016 12:39:31 +0200

Adding cast to fix compilation on NetBSD with GCC 4.8.4 [-Werror=char-subscripts]

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

diff --git a/src/strtolower.c b/src/strtolower.c @@ -16,7 +16,7 @@ char *strtolower(char *str) char *p; for (p = str; *p != '\0'; ++p) { - *p = tolower(*p); + *p = tolower((unsigned char) *p); } return str; }