Squash warning
Make end_marker unsigned
This commit is contained in:
parent
47e45c782d
commit
91d74f6678
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ CharData findCharData(const cimg_library::CImg<unsigned char> & image, int x0, i
|
||||||
unsigned int best_pattern = 0x0000ffff;
|
unsigned int best_pattern = 0x0000ffff;
|
||||||
int codepoint = 0x2584;
|
int codepoint = 0x2584;
|
||||||
bool inverted = false;
|
bool inverted = false;
|
||||||
int end_marker = flags & FLAG_TELETEXT ? 1 : 0;
|
unsigned int end_marker = flags & FLAG_TELETEXT ? 1 : 0;
|
||||||
for (int i = 0; BITMAPS[i + 1] != end_marker; i += 2) {
|
for (int i = 0; BITMAPS[i + 1] != end_marker; i += 2) {
|
||||||
// Skip all end markers
|
// Skip all end markers
|
||||||
if (BITMAPS[i + 1] < 32) {
|
if (BITMAPS[i + 1] < 32) {
|
||||||
|
|
Loading…
Reference in a new issue