summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-04-01 08:36:02 -0400
committer AJR <ajrhacker@users.noreply.github.com>2022-04-01 08:36:25 -0400
commit92f6ca27d69860632a65769cbee7aed5671d06c1 (patch)
tree127f6a48c91466423c15d2b49ee3b426d72f1457
parentc20662d2400d6b80693bd038187ed9acd3be71d5 (diff)
cdrom.cpp: Bothering by integer types
-rw-r--r--src/lib/util/cdrom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/cdrom.cpp b/src/lib/util/cdrom.cpp
index 5dee1e2bdf5..2d0bb031a65 100644
--- a/src/lib/util/cdrom.cpp
+++ b/src/lib/util/cdrom.cpp
@@ -421,7 +421,7 @@ std::error_condition cdrom_file::read_partial_sector(void *dest, uint32_t lbasec
sourcefileoffset += chdsector * bytespersector + startoffs;
if (EXTRA_VERBOSE)
- printf("Reading sector %d from track %d at offset %lu\n", chdsector, tracknum, sourcefileoffset);
+ printf("Reading sector %d from track %d at offset %lu\n", chdsector, tracknum, (unsigned long)sourcefileoffset);
size_t actual;
result = srcfile.seek(sourcefileoffset, SEEK_SET);