Make this pass the testsuite by fixing a missing increment

I’d also add the possibility to initialise a hash to a value other than zero, especially if it’s to be used for hash tables, in the face of CVE-2011-4815.