summaryrefslogtreecommitdiff
path: root/disk-utils
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2008-03-20 14:54:06 +0100
committerKarel Zak <kzak@redhat.com>2008-03-20 14:54:06 +0100
commit7b241808f110953991e13eaf03ff4b4df7bb2b8e (patch)
tree3ab4a0a4b77199f5083d2780a737f03591e18009 /disk-utils
parent07d9b366e4cad566d26780647cb081b07fae6416 (diff)
downloadutil-linux-old-7b241808f110953991e13eaf03ff4b4df7bb2b8e.tar.gz
mkswap: fix compiler warnings
mkswap.c:529: warning: pointer targets in assignment differ in signedness mkswap.c:531: warning: pointer targets in assignment differ in signedness mkswap.c:550: warning: pointer targets in passing argument 1 of `uuid_parse' differ in signedness Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r--disk-utils/mkswap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/mkswap.c b/disk-utils/mkswap.c
index e2eafa54..12d9a164 100644
--- a/disk-utils/mkswap.c
+++ b/disk-utils/mkswap.c
@@ -479,7 +479,7 @@ main(int argc, char ** argv) {
char *opt_label = NULL;
unsigned char *uuid = NULL;
#ifdef HAVE_LIBUUID
- unsigned char *opt_uuid = NULL;
+ const char *opt_uuid = NULL;
uuid_t uuid_dat;
#endif