lesson of the month: sizeof(int*) != sizeof(int) on all (maybe most) computers