summaryrefslogtreecommitdiff
path: root/lolcat.c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-07-22 20:48:30 +0200
committerjaseg <git@jaseg.net>2018-07-22 20:48:30 +0200
commitceb4d662f75bc7cd00f6823821acb737ef592489 (patch)
treec5f9de90fc5f58fad68ea1049c2006c8008799bb /lolcat.c
parentfd9436a7f0962a479cdf2cd0f5d42ad3b4ab0d54 (diff)
downloadlolcat-ceb4d662f75bc7cd00f6823821acb737ef592489.tar.gz
lolcat-ceb4d662f75bc7cd00f6823821acb737ef592489.tar.bz2
lolcat-ceb4d662f75bc7cd00f6823821acb737ef592489.zip
Fix color array type
Diffstat (limited to 'lolcat.c')
-rw-r--r--lolcat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lolcat.c b/lolcat.c
index f1587dd..bc29478 100644
--- a/lolcat.c
+++ b/lolcat.c
@@ -49,7 +49,7 @@ static char helpstr[] = "\n"
"Original idea: <http://www.github.org/busyloop/lolcat/>\n";
#define ARRAY_SIZE(foo) (sizeof(foo) / sizeof(foo[0]))
-const char codes[] = { 39, 38, 44, 43, 49, 48, 84, 83, 119, 118, 154, 148, 184, 178, 214, 208, 209, 203, 204, 198, 199, 163, 164, 128, 129, 93, 99, 63, 69, 33 };
+const unsigned char codes[] = { 39, 38, 44, 43, 49, 48, 84, 83, 119, 118, 154, 148, 184, 178, 214, 208, 209, 203, 204, 198, 199, 163, 164, 128, 129, 93, 99, 63, 69, 33 };
void find_escape_sequences(int c, int* state)
{