regedit: Modify getRegClass() to avoid dubious comparisons and casts between HKEYs and error codes.
1 file changed