diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-03 06:18:45 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-03 06:20:48 +0200 |
commit | 9eaec6d8f5cba1a95c7072c95d0a13726352aaea (patch) | |
tree | 12d7f4829c92bd535543698308466285b4bd8942 /src/tests/qemu/init.c | |
parent | receive: simplify message type validation (diff) | |
download | wireguard-monolithic-historical-9eaec6d8f5cba1a95c7072c95d0a13726352aaea.tar.xz wireguard-monolithic-historical-9eaec6d8f5cba1a95c7072c95d0a13726352aaea.zip |
global: satisfy bitshift pedantry
Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | src/tests/qemu/init.c | 2 |
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 |