Addressing "int -> nc_type" type conversion issues.