diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-20 08:46:25 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-11-30 00:42:42 +0100 |
| commit | b990d213cd75982eadee5a9c1e1f20792c1c6743 (patch) | |
| tree | 0d02d632781c3de16aedc4926cd3797a8f6f015c /src | |
| parent | bf03b05fe3429c1e5e98e2fd8ba07f1009b890e9 (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(); } |
