Skip to content

Commit

Permalink
Fix a wrong return type
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffman committed Sep 18, 2015
1 parent ef4daf8 commit f85c87a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private object DeserializeIntegerHelper(TypeCode typeCode, string value, IFormat
return (sbyte)result;

case TypeCode.UInt16:
return (uint)result;
return (ushort)result;

case TypeCode.UInt32:
return (uint)result;
Expand Down

0 comments on commit f85c87a

Please sign in to comment.