`inc eax` will also set ZF if eax = -1. You'll have to `dec eax` again after the conditional jump, but you'll still save one byte as the `cmp` needs 3 bytes.