u_max
static u_max get_unsigned_val(struct type_descriptor *type, void *val)
return *(u_max *)val;
u_max val = get_unsigned_val(type, value);