Cleaned up compiler warnings with debugging statements casting pointers to ints