Alexandre Julliard : libwine: Avoid a compiler warning on Solaris.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 12 07:30:20 CDT 2006


Module: wine
Branch: master
Commit: 6406f60ff37115f610fedee503feb85ef2bc4d17
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=6406f60ff37115f610fedee503feb85ef2bc4d17

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Sep 12 11:01:57 2006 +0200

libwine: Avoid a compiler warning on Solaris.

---

 libs/wine/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libs/wine/config.c b/libs/wine/config.c
index b721108..07ff07f 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -190,7 +190,7 @@ #ifdef HAVE_GETPWUID
     }
     if (!user)
     {
-        sprintf( uid_str, "%u", getuid() );
+        sprintf( uid_str, "%lu", (unsigned long)getuid() );
         user = uid_str;
     }
 #else  /* HAVE_GETPWUID */




More information about the wine-cvs mailing list