Merge "Fix wrong unsigned to signed conversions."