summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/apridisk.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-01-07 19:36:03 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-01-07 19:40:14 -0500
commit2a7fbbf7d796170d40c7a9206a47b9eeb89c8ccc (patch)
treec69df73aa8835ee08faf3ccfa71691b97e3f4dbe /src/lib/formats/apridisk.h
parent16dd0b6f55289a9c40ddd2c10a7990f07afa4abc (diff)
Fix clang build [-Wc++11-narrowing] (nw)
This also adds an explicit type to the enum, so MSVC should be happy with this way as well.
Diffstat (limited to 'src/lib/formats/apridisk.h')
-rw-r--r--src/lib/formats/apridisk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/apridisk.h b/src/lib/formats/apridisk.h
index 81db4b41105..1155a0b4a9a 100644
--- a/src/lib/formats/apridisk.h
+++ b/src/lib/formats/apridisk.h
@@ -33,7 +33,7 @@ private:
static const int APR_HEADER_SIZE = 128;
// sector types
- enum
+ enum : uint32_t
{
APR_DELETED = 0xe31d0000,
APR_SECTOR = 0xe31d0001,