summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fs/ext2/ext2.c2
-rw-r--r--core/fs/iso9660/iso9660.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/fs/ext2/ext2.c b/core/fs/ext2/ext2.c
index 7db45fc1..8c44b3ae 100644
--- a/core/fs/ext2/ext2.c
+++ b/core/fs/ext2/ext2.c
@@ -692,7 +692,7 @@ static int ext2_load_config(void)
regs.edi.w[0] = OFFS_WRT(ConfigName, 0);
call16(core_open, &regs, &regs);
- return regs.eflags.l & EFLAGS_ZF;
+ return !!(regs.eflags.l & EFLAGS_ZF);
}
diff --git a/core/fs/iso9660/iso9660.c b/core/fs/iso9660/iso9660.c
index eb9dede8..e060b13d 100644
--- a/core/fs/iso9660/iso9660.c
+++ b/core/fs/iso9660/iso9660.c
@@ -456,7 +456,7 @@ static int iso_load_config(void)
regs.edi.w[0] = OFFS_WRT(ConfigName, 0);
call16(core_open, &regs, &regs);
- return regs.eflags.l & EFLAGS_ZF;
+ return !!(regs.eflags.l & EFLAGS_ZF);
}