From f22787dd392aa8481683f7c1cb31708a1b8b78e9 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Thu, 28 Oct 2021 00:26:03 +0300 Subject: [PATCH] LibC: Change the type of FBProperties' fields from bool to unsigned char The bool type is not available in C89. --- Userland/Libraries/LibC/sys/ioctl_numbers.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Userland/Libraries/LibC/sys/ioctl_numbers.h b/Userland/Libraries/LibC/sys/ioctl_numbers.h index ca715672c5..257def59b8 100644 --- a/Userland/Libraries/LibC/sys/ioctl_numbers.h +++ b/Userland/Libraries/LibC/sys/ioctl_numbers.h @@ -19,10 +19,10 @@ struct winsize { }; struct FBProperties { - bool multihead_support; - bool doublebuffer_support; - bool flushing_support; - bool partial_flushing_support; + unsigned char multihead_support; + unsigned char doublebuffer_support; + unsigned char flushing_support; + unsigned char partial_flushing_support; }; struct FBHeadProperties {