From 047d337348019c781e7499d24e45ffffdb5a1731 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Wed, 9 May 2001 08:01:56 +0000 Subject: [PATCH] Fix what was clearly a 3am brain-o; Boolean should be signed, not unsigned. C is kinda loose about this sort of thing but it's no excuse. Spotted by: kenny --- usr.sbin/sade/sade.h | 2 +- usr.sbin/sysinstall/sysinstall.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index a1ea129efc90..75299deb3c30 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.h @@ -190,7 +190,7 @@ #define SAFE_STRCPY(to, from) sstrncpy((to), (from), sizeof (to) - 1) /*** Types ***/ -typedef unsigned int Boolean; +typedef int Boolean; typedef struct disk Disk; typedef struct chunk Chunk; diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h index a1ea129efc90..75299deb3c30 100644 --- a/usr.sbin/sysinstall/sysinstall.h +++ b/usr.sbin/sysinstall/sysinstall.h @@ -190,7 +190,7 @@ #define SAFE_STRCPY(to, from) sstrncpy((to), (from), sizeof (to) - 1) /*** Types ***/ -typedef unsigned int Boolean; +typedef int Boolean; typedef struct disk Disk; typedef struct chunk Chunk;