Original Post
Hi, im trying to find an elegant way to convert a pointer into an integer and later back into a pointer. I used explicit casting, however this causes the compiler to give me a warning stating that the types have different sizes. Well they are both 4 bytes but nonetheless on another machine this may not be the case. Is there a way to perhaps create a general function. Seeing as I cant use arithmetic functions on pointers this seems hard. -CProgrammer