Commit d0f8bf37 authored by Gregg Mattinson's avatar Gregg Mattinson Committed by Alexandre Julliard

Modified WCMD_filesize64 to handle unsigned numbers.

parent a010932a
......@@ -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 (__int64 free);
char * WCMD_filesize64 (__uint64 free);
char * WCMD_strrev (char *buff);
......@@ -43,7 +43,7 @@ extern DWORD errorlevel;
int file_total, dir_total, line_count, page_mode, recurse, wide, bare,
max_width;
__int64 byte_total;
__uint64 byte_total;
/*****************************************************************************
* WCMD_directory
......@@ -363,10 +363,10 @@ ULARGE_INTEGER byte_count, file_size;
* FIXME: There must be a better algorithm!
*/
char * WCMD_filesize64 (__int64 n) {
char * WCMD_filesize64 (__uint64 n) {
__int64 q;
int r, i;
__uint64 q;
uint r, i;
char *p;
static char buff[32];
......
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