Use uintptr_t for pointer-to-int

This commit is contained in:
Scott Lahteine
2020-08-07 19:30:35 -05:00
parent b68e591e58
commit b3ca43fe78
3 changed files with 10 additions and 16 deletions

View File

@@ -39,9 +39,3 @@ void print_hex_byte(const uint8_t b);
void print_hex_word(const uint16_t w);
void print_hex_address(const void * const w);
void print_hex_long(const uint32_t w, const char delimiter);
#ifdef CPU_32_BIT
typedef uint32_t ptr_int_t;
#else
typedef uint16_t ptr_int_t;
#endif