removed overflow with borg dimensions > 128 pixels
This commit is contained in:
parent
7e40c0df5c
commit
d09736355f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue