remove uint8_t

This commit is contained in:
Kelvin Sherlock 2017-03-11 22:43:23 -05:00
parent 7b87bb391f
commit b2870733c8

View File

@ -43,7 +43,7 @@ int g_crlf = 0;
void make_legal_prodos_name(char *new_name, char *old_name); void make_legal_prodos_name(char *new_name, char *old_name);
static int hex(uint8_t c) static int hex(byte c)
{ {
if (c >= '0' && c <= '9') return c - '0'; if (c >= '0' && c <= '9') return c - '0';
if (c >= 'a' && c <= 'f') return c + 10 - 'a'; if (c >= 'a' && c <= 'f') return c + 10 - 'a';