"%u" prints a short (16-bit) integer. Your pointers are 32 bits. Use "%lu". Virtually, - Charles Martin Hannum II "Klein bottle for sale ... inquire within." (That's Charles to you!) "To life immortal!" cmh117 at psuvm.{bitnet,psu.edu} "No noozzzz izzz netzzzsnoozzzzz..." c9h at psuecl.{bitnet,psu.edu} "Mem'ry, all alone in the moonlight ..."