diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-20 08:46:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-16 01:19:51 +0100 |
| commit | edaa73ab9c2724291bfb8d1d984f612dfa3e66a8 (patch) | |
| tree | 4e77d315c9347b94bfc134f64d5c9ca0491f841f /src/lib | |
| parent | 2bd1003ae84be30381f50bc04bdaf91a51722501 (diff) | |
Fix printf format string.
Diffstat (limited to 'src/lib')
| -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 e53dc30c0..6bda9533c 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(); } |
