libwine: Avoid a compiler warning on Solaris.
This commit is contained in:
parent
e1757fcad2
commit
6406f60ff3
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue