From 9d0eb8f3a958738e9a61b3667fe4d68f740c638e Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 28 Mar 2015 13:08:42 +0000 Subject: [PATCH] superblock: magic number should not be signed --- Kernel/include/kernel.h | 2 +- Standalone/fuzix_fs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/include/kernel.h b/Kernel/include/kernel.h index 055665bd..c1c00dd5 100644 --- a/Kernel/include/kernel.h +++ b/Kernel/include/kernel.h @@ -217,7 +217,7 @@ typedef struct direct { */ #define FILESYS_TABSIZE 50 typedef struct filesys { // note: exists in mem and on disk - int16_t s_mounted; + uint16_t s_mounted; uint16_t s_isize; uint16_t s_fsize; uint16_t s_nfree; diff --git a/Standalone/fuzix_fs.h b/Standalone/fuzix_fs.h index 3c48bf51..fabe0992 100644 --- a/Standalone/fuzix_fs.h +++ b/Standalone/fuzix_fs.h @@ -134,7 +134,7 @@ typedef struct cinode { } cinode, *inoptr; typedef struct filesys { - int16_t s_mounted; + uint16_t s_mounted; uint16_t s_isize; uint16_t s_fsize; int16_t s_nfree; -- 2.34.1