From 6406f60ff37115f610fedee503feb85ef2bc4d17 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 12 Sep 2006 11:01:57 +0200 Subject: [PATCH] libwine: Avoid a compiler warning on Solaris. --- libs/wine/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/wine/config.c b/libs/wine/config.c index b721108e76f..07ff07fa052 100644 --- a/libs/wine/config.c +++ b/libs/wine/config.c @@ -190,7 +190,7 @@ static void init_paths(void) } if (!user) { - sprintf( uid_str, "%u", getuid() ); + sprintf( uid_str, "%lu", (unsigned long)getuid() ); user = uid_str; } #else /* HAVE_GETPWUID */