Skip to content

Commit

Permalink
Merge pull request fpillet#153 from logancautrell/master
Browse files Browse the repository at this point in the history
Fix compiler warning.
fpillet committed Dec 10, 2014
2 parents f5a262d + 87f1c27 commit da03608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client Logger/iOS/LoggerClient.m
Original file line number Diff line number Diff line change
@@ -2018,7 +2018,7 @@ static void LoggerWriteStreamCallback(CFWriteStreamRef ws, CFStreamEventType eve
CFIndex size = CFDataGetLength(encoder);
uint32_t oldSize = ntohl(*(uint32_t *)p);
uint32_t newSize = oldSize + requiredExtraBytes;
if ((newSize + 4) > size)
if ((newSize + 4) > (uint32_t)size)
{
// grow by 64 bytes chunks
CFDataSetLength(encoder, (newSize + 4 + 64) & ~63);

0 comments on commit da03608

Please sign in to comment.