Skip to content

Commit 078f333

Browse files
committed
early 5.5 warning fix
1 parent 363192e commit 078f333

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SocketIOClient.uplugin

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"FileVersion": 3,
33
"Version": 1,
4-
"VersionName": "2.8.2",
5-
"EngineVersion": "5.4",
4+
"VersionName": "2.8.3",
5+
"EngineVersion": "5.5",
66
"FriendlyName": "Socket.IO Client",
77
"Description": "Real-time WebSocket networking via Socket.IO protocol usable from blueprints and c++.",
88
"Category": "Networking",

Source/SIOJson/Private/SIOJConvert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ namespace
469469
int ItemsToRead = FMath::Clamp(ArrayValue.Num(), 0, Property->ArrayDim);
470470
for (int Index = 0; Index != ItemsToRead; ++Index)
471471
{
472-
if (!ConvertScalarJsonValueToFPropertyWithContainer(ArrayValue[Index], Property, (char*)OutValue + Index * Property->ElementSize, ContainerStruct, Container, CheckFlags, SkipFlags))
472+
if (!ConvertScalarJsonValueToFPropertyWithContainer(ArrayValue[Index], Property, (char*)OutValue + Index * Property->GetElementSize(), ContainerStruct, Container, CheckFlags, SkipFlags))
473473
{
474474
return false;
475475
}

0 commit comments

Comments
 (0)