summaryrefslogtreecommitdiffhomepage
path: root/src/tests/qemu
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-03 06:18:45 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-03 06:20:48 +0200
commit452dc76c606d47dc248f846f1202d708a7245f5e (patch)
treeeb5fa1399b2a75f1681cdf0d5555e5babfe0088b /src/tests/qemu
parent9a93bd7a398acd6f693f6a8332fc0dc6e410a2e5 (diff)
global: satisfy bitshift pedantry
Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/tests/qemu')
-rw-r--r--src/tests/qemu/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/qemu/init.c b/src/tests/qemu/init.c
index 130fd0e..3d0c9de 100644
--- a/src/tests/qemu/init.c
+++ b/src/tests/qemu/init.c
@@ -26,7 +26,7 @@ __attribute__((noreturn)) static void poweroff(void)
fflush(stderr);
#if defined(__x86_64__) || defined(__i386__)
ioperm(0x604, 2, 1);
- outw(1 << 13, 0x604);
+ outw(1U << 13, 0x604);
#else
reboot(RB_POWER_OFF);
#endif