Commit 6406f60f authored by Alexandre Julliard's avatar Alexandre Julliard

libwine: Avoid a compiler warning on Solaris.

parent e1757fca
...@@ -190,7 +190,7 @@ static void init_paths(void) ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment