mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Modified WCMD_filesize64 to handle unsigned numbers.
This commit is contained in:
parent
a010932a3f
commit
d0f8bf3743
1 changed files with 5 additions and 5 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in a new issue