From 7b241808f110953991e13eaf03ff4b4df7bb2b8e Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 20 Mar 2008 14:54:06 +0100 Subject: [PATCH] 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 --- disk-utils/mkswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5