summaryrefslogtreecommitdiff
path: root/src/boot/efi/util.c
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2023-01-25 15:23:49 +0100
committerJan Janssen <medhefgo@web.de>2023-01-25 15:23:49 +0100
commit54d9ecc380360e925ef5ca7886c8546424ddf4fe (patch)
tree7e0096d17b7734a62a22a65942659e1ad32e172e /src/boot/efi/util.c
parentdede50a715676d4ce3ebc9f958a8e3d65e09ce6c (diff)
downloadsystemd-54d9ecc380360e925ef5ca7886c8546424ddf4fe.tar.gz
boot: Use unsigned for beep counting
Diffstat (limited to 'src/boot/efi/util.c')
-rw-r--r--src/boot/efi/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/util.c b/src/boot/efi/util.c
index 43a1144629..403b78c033 100644
--- a/src/boot/efi/util.c
+++ b/src/boot/efi/util.c
@@ -570,7 +570,7 @@ static inline void outb(uint16_t port, uint8_t value) {
asm volatile("outb %0, %1" : : "a"(value), "Nd"(port));
}
-void beep(UINTN beep_count) {
+void beep(unsigned beep_count) {
enum {
PITCH = 500,
BEEP_DURATION_USEC = 100 * 1000,