fix this test when sizeof(long) < sizeof(size_t)