Enhance my 'sresize' macro so that it type-checks the pointer you pass