diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-20 08:46:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-29 00:10:23 +0100 |
| commit | b979cb8bdf5b2f89b19327cfea65387be733f8ca (patch) | |
| tree | 24efd1d0acc4d6817fa448d973790cbcf997fa95 /src | |
| parent | 1618a23e79264c7cbf6c992f01674048f929ec1d (diff) | |
Fix printf format string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index ef12e63ad..a44e006ae 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -261,7 +261,7 @@ exception_handler(struct _EXCEPTION_POINTERS * info) { dcp::File f(backtrace_file, "w"); if (f) { - fprintf(f.get(), "C-style exception %d\n", info->ExceptionRecord->ExceptionCode); + fprintf(f.get(), "C-style exception %ld\n", info->ExceptionRecord->ExceptionCode); f.close(); } |
