Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d0f8bf37
Commit
d0f8bf37
authored
Jul 05, 2002
by
Gregg Mattinson
Committed by
Alexandre Julliard
Jul 05, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified WCMD_filesize64 to handle unsigned numbers.
parent
a010932a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
directory.c
programs/wcmd/directory.c
+5
-5
No files found.
programs/wcmd/directory.c
View file @
d0f8bf37
...
...
@@ -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
(
__
u
int64
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
;
__
u
int64
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
(
__
u
int64
n
)
{
__int64
q
;
int
r
,
i
;
__
u
int64
q
;
u
int
r
,
i
;
char
*
p
;
static
char
buff
[
32
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment