Skip to content

Commit

Permalink
Fix gcc warning about size_t format specifier. (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonwang0 authored and huguesBouvier committed Apr 17, 2018
1 parent 760380e commit a70819f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aws_iot_shadow_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ bool extractClientToken(const char *pJsonDocument, size_t jsonSize, char *pExtra
pExtractedClientToken[length] = '\0';
return true;
}else{
IOT_WARN( "Token size %d too small for string %d \n", clientTokenSize, length);
IOT_WARN( "Token size %zu too small for string %zu \n", clientTokenSize, length);
return false;
}
}
Expand Down

0 comments on commit a70819f

Please sign in to comment.