libwine: Avoid a compiler warning on Solaris.

This commit is contained in:
Alexandre Julliard 2006-09-12 11:01:57 +02:00
parent e1757fcad2
commit 6406f60ff3
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ static void init_paths(void)
} }
if (!user) if (!user)
{ {
sprintf( uid_str, "%u", getuid() ); sprintf( uid_str, "%lu", (unsigned long)getuid() );
user = uid_str; user = uid_str;
} }
#else /* HAVE_GETPWUID */ #else /* HAVE_GETPWUID */