I think I was getting compiler warnings on a direct void* cast because int->void* is evil