diff --git a/ChangeLog b/ChangeLog index cf986512..c0fda5c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool. * lib/shadowio.h: Add protection against multiple inclusions. + * lib/shadowio.c: The changed, isopen, locked, and readonly fields + of the db are booleans. 2008-05-26 Nicolas François diff --git a/lib/shadowio.c b/lib/shadowio.c index bb59c20c..4e1208f9 100644 --- a/lib/shadowio.c +++ b/lib/shadowio.c @@ -99,10 +99,10 @@ static struct commonio_db shadow_db = { NULL, /* head */ NULL, /* tail */ NULL, /* cursor */ - 0, /* changed */ - 0, /* isopen */ - 0, /* locked */ - 0 /* readonly */ + false, /* changed */ + false, /* isopen */ + false, /* locked */ + false /* readonly */ }; int spw_name (const char *filename)