(shmif) cookie calculation wasn't 32-bit safe, fixed.