summaryrefslogtreecommitdiff
path: root/fonts.c
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-26 10:58:09 +0200
committerErich Eckner <git@eckner.net>2018-10-26 10:58:09 +0200
commit3470a4ce3a16f51d17127a202bf798d71544ffae (patch)
treedde1bf54cfd4029f11050065785ddef33bef4e7a /fonts.c
parent3d7d5934ce19203b1b795cfea6a51599a20c9639 (diff)
downloadanzeige-3470a4ce3a16f51d17127a202bf798d71544ffae.tar.xz
compile with -pedantic
Diffstat (limited to 'fonts.c')
-rw-r--r--fonts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fonts.c b/fonts.c
index 352b728..b7a68c7 100644
--- a/fonts.c
+++ b/fonts.c
@@ -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++) {