Change bitmap signedness to allow conversion to other data types

Buffered bitmap array should have been type unsigned char not type char
Includes change to manual
In response to (and hopefully fixing) #182 reported by Marcelo Antunes
This commit is contained in:
Robin Stuart 2020-03-29 13:42:33 +01:00
parent e8b56faa11
commit 52214c5a1c
3 changed files with 9 additions and 8 deletions

View file

@ -125,7 +125,7 @@ extern "C" {
unsigned char encoded_data[200][143];
int row_height[200]; /* Largest symbol is 189 x 189 Han Xin */
char errtxt[100];
char *bitmap;
unsigned char *bitmap;
int bitmap_width;
int bitmap_height;
unsigned int bitmap_byte_length;