Skip to content

Commit

Permalink
Fix compiler warning about loss of data in stdout logging (#4003)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrichardvanharten authored Dec 11, 2023
1 parent 8806d6a commit 842f058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generated/stdout/quic_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ char * casted_clog_bytearray(const uint8_t * const data,
// unsure what this is, just hexdump it
param->str = CXPLAT_ALLOC_PAGED(len * 2 + 1, QUIC_POOL_TMP_ALLOC);
if (param->str) {
EncodeHexBuffer((uint8_t *)data, len, param->str);
EncodeHexBuffer((uint8_t *)data, (uint8_t)len, param->str);
param->str[len * 2 + 1] = 0;
}

Expand Down

0 comments on commit 842f058

Please sign in to comment.