diff options
author | jaseg <git@jaseg.net> | 2018-07-22 20:48:30 +0200 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2018-07-22 20:48:30 +0200 |
commit | ceb4d662f75bc7cd00f6823821acb737ef592489 (patch) | |
tree | c5f9de90fc5f58fad68ea1049c2006c8008799bb | |
parent | fd9436a7f0962a479cdf2cd0f5d42ad3b4ab0d54 (diff) | |
download | lolcat-ceb4d662f75bc7cd00f6823821acb737ef592489.tar.gz lolcat-ceb4d662f75bc7cd00f6823821acb737ef592489.tar.bz2 lolcat-ceb4d662f75bc7cd00f6823821acb737ef592489.zip |
Fix color array type
-rw-r--r-- | lolcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |