libs/wine: Removed sign comparison warning.

Marko Nikolic grkoma at gmail.com
Sat Jun 5 14:36:07 CDT 2010


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

diff --git a/libs/wine/config.c b/libs/wine/config.c
index 6bb87b0..1e7fde4 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -141,12 +141,13 @@ static char *get_runtime_libdir(void)
 static char *get_runtime_bindir( const char *argv0 )
 {
     char *p, *bindir, *cwd;
-    size_t len, size;
+    size_t len;
+    ssize_t size;
 
 #ifdef linux
     for (size = 256; ; size *= 2)
     {
-        int ret;
+        ssize_t ret;
         if (!(bindir = malloc( size ))) break;
         if ((ret = readlink( "/proc/self/exe", bindir, size )) == -1) break;
         if (ret != size)
-- 
1.7.0.4




More information about the wine-patches mailing list