Skip to content

Commit

Permalink
[thread] use proper sprintf format for uint32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
e-rk authored and restyled-io[bot] committed Aug 25, 2020
1 parent c4b6bfc commit 5572961
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread<ImplClass>::_GetAndLogThread
otErr = otThreadGetChildInfoById(mOTInst, neighbor->mRloc16, child);
VerifyOrExit(otErr == OT_ERROR_NONE, err = MapOpenThreadError(otErr));

snprintf(printBuf, TELEM_PRINT_BUFFER_SIZE, ", Timeout: %10lu NetworkDataVersion: %3d", child->mTimeout,
snprintf(printBuf, TELEM_PRINT_BUFFER_SIZE, ", Timeout: %10u NetworkDataVersion: %3d", child->mTimeout,
child->mNetworkDataVersion);
}
else
Expand Down

0 comments on commit 5572961

Please sign in to comment.