Casting to int rather than unsigned
I think this is more robust. If an MD code uses a negative value with a specific meaning (e.g. -1 to imply some choice) casting to unsigned will translate -1 to 4294967295, which is positive
Loading
Please sign in to comment