Update portage_test.c

fix 32bit problems