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:
Simon Richter 2016-01-15 22:24:17 -05:00 committed by Chris Pavlina
parent f674942e27
commit 128459470a
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ extern int MaxNodes; /* maximum number of nodes opened at one time */
/* Structures useful to the generation of board as bitmap. */
typedef char MATRIX_CELL;
typedef unsigned char MATRIX_CELL;
typedef int DIST_CELL;
typedef char DIR_CELL;