Skip to content

Commit

Permalink
test: profile: fixed warning
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich committed Dec 17, 2024
1 parent 04b85a7 commit 5d17354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void print_profile(struct cprof_profile *profile)
if (sample->timestamps_count > 0) {
printf(" Timestamps:\n");
for (i = 0; i < sample->timestamps_count; ++i) {
printf(" Timestamp %zu: %" PRIu64 " ns\n", i, sample->timestamps_unix_nano[i]);
printf(" Timestamp %d: %" PRIu64 " ns\n", i, sample->timestamps_unix_nano[i]);
}
} else {
printf(" [No Timestamps]\n");
Expand Down

0 comments on commit 5d17354

Please sign in to comment.