Skip to content

Commit a70819f

Browse files
gordonwang0huguesBouvier
authored andcommitted
Fix gcc warning about size_t format specifier. (#159)
1 parent 760380e commit a70819f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/aws_iot_shadow_json.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ bool extractClientToken(const char *pJsonDocument, size_t jsonSize, char *pExtra
507507
pExtractedClientToken[length] = '\0';
508508
return true;
509509
}else{
510-
IOT_WARN( "Token size %d too small for string %d \n", clientTokenSize, length);
510+
IOT_WARN( "Token size %zu too small for string %zu \n", clientTokenSize, length);
511511
return false;
512512
}
513513
}

0 commit comments

Comments
 (0)