diff options
author | Erich Eckner <git@eckner.net> | 2018-10-26 10:58:09 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-26 10:58:09 +0200 |
commit | 3470a4ce3a16f51d17127a202bf798d71544ffae (patch) | |
tree | dde1bf54cfd4029f11050065785ddef33bef4e7a /fonts.c | |
parent | 3d7d5934ce19203b1b795cfea6a51599a20c9639 (diff) | |
download | anzeige-3470a4ce3a16f51d17127a202bf798d71544ffae.tar.xz |
compile with -pedantic
Diffstat (limited to 'fonts.c')
-rw-r--r-- | fonts.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2,8 +2,7 @@ #include "fonts.h" -int render(unsigned char *input, int input_len, unsigned char *output, int max_output_len, int skip_unprintables) -{ +int render(char *input, int input_len, char *output, int max_output_len, int skip_unprintables) { memset(output, 0, max_output_len); int output_i = 0; for (int input_i=0; (input_i < input_len) && (output_i*(SYMBOL_WIDTH+1) < max_output_len) && input[input_i]; input_i++) { |