diff --git a/Src/Newtonsoft.Json/Linq/JToken.cs b/Src/Newtonsoft.Json/Linq/JToken.cs index 06d4a3c8..2a2818a5 100644 --- a/Src/Newtonsoft.Json/Linq/JToken.cs +++ b/Src/Newtonsoft.Json/Linq/JToken.cs @@ -1970,9 +1970,9 @@ namespace Newtonsoft.Json.Linq case PrimitiveTypeCode.Char: return (char)this; case PrimitiveTypeCode.SByte: - return (sbyte?)this; - case PrimitiveTypeCode.SByteNullable: return (sbyte)this; + case PrimitiveTypeCode.SByteNullable: + return (sbyte?)this; case PrimitiveTypeCode.ByteNullable: return (byte?)this; case PrimitiveTypeCode.Byte: