From: Karel Zak Date: Thu, 20 Mar 2008 13:54:06 +0000 (+0100) Subject: mkswap: fix compiler warnings X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b241808f110953991e13eaf03ff4b4df7bb2b8e;p=util-linux 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 --- 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