Windream: Fix ConvertIndexValue by using ToInt32 instead of ToInt16

This commit is contained in:
Jonathan Jenne 2021-06-08 16:13:14 +02:00
parent e733c7919c
commit a413145214

View File

@ -76,10 +76,10 @@ Public Class Helpers
Return Value
Case INDEX_TYPE_INTEGER
Value = Value.Replace(" ", String.Empty)
Return Convert.ToInt16(Value)
Return Convert.ToInt32(Value)
Case INDEX_TYPE_VECTOR_INTEGER
Value = Value.Replace(" ", String.Empty)
Return Convert.ToInt16(Value)
Return Convert.ToInt32(Value)
Case INDEX_TYPE_VECTOR_INTEGER_64BIT
Value = Value.Replace(" ", String.Empty)
Return Convert.ToInt64(Value)