diff options
author | Karel Zak | 2011-08-02 13:29:29 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-02 13:29:29 +0200 |
commit | c9f51c712f952d661b264b4c5ac175a9ac08f60e (patch) | |
tree | a3f23727036fbd76c70e676b5ce6ed948bb2ad8a /libblkid/src/blkidP.h | |
parent | libblkid: [superblocks] fix compiler warnings [-Wunused-parameter -Wsign-comp... (diff) | |
download | kernel-qcow2-util-linux-c9f51c712f952d661b264b4c5ac175a9ac08f60e.tar.gz kernel-qcow2-util-linux-c9f51c712f952d661b264b4c5ac175a9ac08f60e.tar.xz kernel-qcow2-util-linux-c9f51c712f952d661b264b4c5ac175a9ac08f60e.zip |
libblkid: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid/src/blkidP.h')
-rw-r--r-- | libblkid/src/blkidP.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libblkid/src/blkidP.h b/libblkid/src/blkidP.h index aeeebc165..61a1aad89 100644 --- a/libblkid/src/blkidP.h +++ b/libblkid/src/blkidP.h @@ -90,7 +90,7 @@ struct blkid_chain { int enabled; /* boolean */ int flags; /* BLKID_<chain>_* */ int binary; /* boolean */ - int idx; /* index of the current prober */ + int idx; /* index of the current prober (or -1) */ unsigned long *fltr; /* filter or NULL */ void *data; /* private chain data or NULL */ }; @@ -99,7 +99,7 @@ struct blkid_chain { * Chain driver */ struct blkid_chaindrv { - const int id; /* BLKID_CHAIN_* */ + const size_t id; /* BLKID_CHAIN_* */ const char *name; /* name of chain (for debug purpose) */ const int dflt_flags; /* default chain flags */ const int dflt_enabled; /* default enabled boolean */ |