Francois Gouget : regedit: Modify getRegClass() to avoid dubious comparisons and casts between HKEYs and error codes.