PATCH: Fix build wcmd on windows

Steven Edwards steven_ed4153 at yahoo.com
Sat Jul 20 00:34:27 CDT 2002


Changelog: Fix building on windows

cvs diff -u directory.c 
Index: directory.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/directory.c,v
retrieving revision 1.11
diff -u -r1.11 directory.c
--- directory.c	5 Jul 2002 22:47:56 -0000	1.11
+++ directory.c	20 Jul 2002 05:32:26 -0000
@@ -29,7 +29,7 @@
 
 int WCMD_dir_sort (const void *a, const void *b);
 void WCMD_list_directory (char *path, int level);
-char * WCMD_filesize64 (__uint64 free);
+char * WCMD_filesize64 (unsigned __int64 free);
 char * WCMD_strrev (char *buff);
 
 
@@ -43,7 +43,7 @@
 
 int file_total, dir_total, line_count, page_mode, recurse, wide, bare,
     max_width;
-__uint64 byte_total;
+unsigned __int64 byte_total;
 
 /*****************************************************************************
  * WCMD_directory
@@ -363,10 +363,10 @@
  * FIXME: There must be a better algorithm!
  */
 
-char * WCMD_filesize64 (__uint64 n) {
+char * WCMD_filesize64 (unsigned __int64 n) {
 
-__uint64 q;
-uint r, i;
+unsigned __int64 q;
+unsigned int r, i;
 char *p;
 static char buff[32];

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



More information about the wine-patches mailing list