Alexandre Julliard : server: Fixed a compiler warning on MacOSX.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jun 15 07:15:20 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 0fa7170dc318a6624f960c49e459cb521d2ae999
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0fa7170dc318a6624f960c49e459cb521d2ae999

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Jun 15 14:14:31 2006 +0200

server: Fixed a compiler warning on MacOSX.

---

 server/fd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/fd.c b/server/fd.c
index d2b7eca..7806bae 100644
--- a/server/fd.c
+++ b/server/fd.c
@@ -278,7 +278,7 @@ static file_pos_t max_unix_offset = OFF_
 
 #define DUMP_LONG_LONG(val) do { \
     if (sizeof(val) > sizeof(unsigned long) && (val) > ~0UL) \
-        fprintf( stderr, "%lx%08lx", (unsigned long)((val) >> 32), (unsigned long)(val) ); \
+        fprintf( stderr, "%lx%08lx", (unsigned long)((unsigned long long)(val) >> 32), (unsigned long)(val) ); \
     else \
         fprintf( stderr, "%lx", (unsigned long)(val) ); \
   } while (0)




More information about the wine-cvs mailing list