MIPSpro defaults to unsigned char, use signed char where required.

__mips not __mips__, same for alpha.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@36 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Matt Chapman 2001-09-17 12:50:49 +00:00
parent 027225c75d
commit 0bd0ca616f
2 changed files with 3 additions and 6 deletions

View File

@ -72,12 +72,9 @@ extern "C" {
#define OPENSSL_free(ptr) xfree(ptr);
/* Only one for the following should be defined */
/* The prime number generation stuff may not work when
* EIGHT_BIT but I don't care since I've only used this mode
* for debuging the bignum libraries */
#if defined(__alpha__) || defined(__ia64__)
#if defined(__alpha) || defined(__ia64)
#define SIXTY_FOUR_BIT_LONG
#elseif defined(__mips__)
#elif defined(__mips)
#define SIXTY_FOUR_BIT
#else
#define THIRTY_TWO_BIT

View File

@ -61,7 +61,7 @@ rdp_in_coord(STREAM s, uint16 *coord, BOOL delta)
if (delta)
{
in_uint8(s, change);
*coord += (char) change;
*coord += (signed char) change;
}
else
{