Skip to content

Commit 427e4f8

Browse files
jpnurmiclaude
andcommitted
fix(retry): use PRIu64 format specifier for uint64_t
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7c8817e commit 427e4f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sentry_retry.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ sentry__retry_make_path(
111111
sentry_retry_t *retry, uint64_t ts, int count, const char *uuid)
112112
{
113113
char filename[128];
114-
snprintf(filename, sizeof(filename), "%llu-%02d-%.36s.envelope",
115-
(unsigned long long)ts, count, uuid);
114+
snprintf(filename, sizeof(filename), "%" PRIu64 "-%02d-%.36s.envelope", ts,
115+
count, uuid);
116116
return sentry__path_join_str(retry->retry_dir, filename);
117117
}
118118

0 commit comments

Comments
 (0)