Skip to content

Commit

Permalink
[ESP32] fix compile error for persistent-storage app
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 committed Jun 29, 2021
1 parent 10a7ac6 commit cf111b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/persistent-storage/KeyValueStorageTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ using namespace chip::DeviceLayer::PersistedStorage;
{ \
char error_str[255]; \
chip::FormatCHIPError(error_str, sizeof(error_str), temp_test_result); \
ChipLogError(NotSpecified, "%s: FAILED %ld [%s]", #test_result, temp_test_result, chip::ErrorStr(temp_test_result)); \
ChipLogError(NotSpecified, "%s: FAILED %" PRId32 " [%s]", #test_result, temp_test_result, \
chip::ErrorStr(temp_test_result)); \
} \
else \
{ \
Expand Down

0 comments on commit cf111b0

Please sign in to comment.