removed overflow with borg dimensions > 128 pixels

This commit is contained in:
Christian Kroll 2011-03-14 10:28:27 +00:00
parent 7e40c0df5c
commit d09736355f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
#define YSIZE UNUM_ROWS #define YSIZE UNUM_ROWS
// optimizing for 8 bit archs while retaining compatibility with dimensions >255 // optimizing for 8 bit archs while retaining compatibility with dimensions >255
#if UNUM_COLS < 256 && UNUM_ROWS < 256 #if UNUM_COLS < 128 && UNUM_ROWS < 128
typedef uint8_t coord_t; typedef uint8_t coord_t;
#else #else
typedef unsigned int coord_t; typedef unsigned int coord_t;