fix thinko with generated match() functions

That's what I get for not testing 64-bit...