#include <ctype.h>
#include <assert.h>
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BORLANDC__)
typedef unsigned char Uint8 ;
typedef unsigned Uint16 ;
/* Convert hex digit to numeric value 0 - 15; assumes input is a
* valid digit (i.e. passes isxdigit()).
*/
-static Uint8 hexDigit(const char c)
+static Uint8 hexDigit(const unsigned char c)
{
if (isdigit(c))
{