Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit 0f1388d

Browse files
committed
fix a de-serializing for SerializedFieldType "SerializedFieldTypeInt64".
1 parent 5aaea0b commit 0f1388d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/support/SerializationUtils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,9 +841,9 @@ WEAVE_ERROR ReadDataForType(TLVReader &aReader, void *aStructureData, const Fiel
841841
err = aReader.Get(v);
842842
SuccessOrExit(err);
843843

844-
LogReadWrite("%s int64 %d", "R", v);
844+
LogReadWrite("%s int64 %lld", "R", v);
845845

846-
*static_cast<int8_t *>(aStructureData) = v;
846+
*static_cast<int64_t *>(aStructureData) = v;
847847
break;
848848
}
849849

0 commit comments

Comments
 (0)