summaryrefslogtreecommitdiffstats
path: root/libblkid/src/blkidP.h
diff options
context:
space:
mode:
authorKarel Zak2011-08-02 13:29:29 +0200
committerKarel Zak2011-08-02 13:29:29 +0200
commitc9f51c712f952d661b264b4c5ac175a9ac08f60e (patch)
treea3f23727036fbd76c70e676b5ce6ed948bb2ad8a /libblkid/src/blkidP.h
parentlibblkid: [superblocks] fix compiler warnings [-Wunused-parameter -Wsign-comp... (diff)
downloadkernel-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.h4
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 */