Fix 32 bit signed conversion

On 32 bits strtol can't be used to convert a hex number with the high
bit set (as happens for persistent handles) because it will overflow
and return LONG_MAX, strtoul must be used instead.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
4 files changed