summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authoruwe <uwe@NetBSD.org>2022-04-13 10:56:11 +0000
committeruwe <uwe@NetBSD.org>2022-04-13 10:56:11 +0000
commita03c70654eb63c2a7f288fd47a714ccaf2060d56 (patch)
treeec481d0c6feccdd46b7b6688862e9c3148997333 /sys/dev
parent2d82186e9eaec6fb4e34f8a9246b562bd5e96892 (diff)
virtio: Use UINT64_C() instead of explicit ULL suffix.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/virtioreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/virtioreg.h b/sys/dev/pci/virtioreg.h
index 3cd461fb345..9846f8e8c8f 100644
--- a/sys/dev/pci/virtioreg.h
+++ b/sys/dev/pci/virtioreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: virtioreg.h,v 1.9 2022/04/13 10:50:28 uwe Exp $ */
+/* $NetBSD: virtioreg.h,v 1.10 2022/04/13 10:56:11 uwe Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -83,7 +83,7 @@
#define VIRTIO_F_RING_INDIRECT_DESC (1<<28)
#define VIRTIO_F_RING_EVENT_IDX (1<<29)
#define VIRTIO_F_BAD_FEATURE (1<<30)
-#define VIRTIO_F_VERSION_1 (1ULL<<32)
+#define VIRTIO_F_VERSION_1 (UINT64_C(1) << 32)
/* common device status flags */
#define VIRTIO_CONFIG_DEVICE_STATUS_RESET 0