Clean up truncation of constant
In the autorouter code, the value 0x80 is assigned to MATRIX_CELL, which is an overflow for a signed 8-bit type. As this type is used as a bit mask, there is no point in having a sign bit anyway.
This commit is contained in:
parent
f674942e27
commit
128459470a
|
@ -73,7 +73,7 @@ extern int MaxNodes; /* maximum number of nodes opened at one time */
|
||||||
|
|
||||||
|
|
||||||
/* Structures useful to the generation of board as bitmap. */
|
/* Structures useful to the generation of board as bitmap. */
|
||||||
typedef char MATRIX_CELL;
|
typedef unsigned char MATRIX_CELL;
|
||||||
typedef int DIST_CELL;
|
typedef int DIST_CELL;
|
||||||
typedef char DIR_CELL;
|
typedef char DIR_CELL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue