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

Commit 22d3f74

Browse files
authored
Merge pull request #432 from Shumaro/master
fix de-serializing for "SerializedFieldTypeInt64"
2 parents 5b7db96 + 0f1388d commit 22d3f74

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)