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
684b6c24
Commit
684b6c24
authored
Aug 17, 2006
by
Stefan Leichter
Committed by
Alexandre Julliard
Aug 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Print 64bit integers with wine_dbgstr_longlong.
parent
59be6e06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
string.c
dlls/shlwapi/string.c
+3
-3
No files found.
dlls/shlwapi/string.c
View file @
684b6c24
...
...
@@ -1563,7 +1563,7 @@ LPSTR WINAPI StrFormatKBSizeA(LONGLONG llBytes, LPSTR lpszDest, UINT cchMax)
char
szBuff
[
256
],
*
szOut
=
szBuff
+
sizeof
(
szBuff
)
-
1
;
LONGLONG
ulKB
=
(
llBytes
+
1023
)
>>
10
;
TRACE
(
"(
%lld,%p,%d)
\n
"
,
llBytes
,
lpszDest
,
cchMax
);
TRACE
(
"(
0x%s,%p,%d)
\n
"
,
wine_dbgstr_longlong
(
llBytes
)
,
lpszDest
,
cchMax
);
*
szOut
--
=
'\0'
;
*
szOut
--
=
'B'
;
...
...
@@ -1591,7 +1591,7 @@ LPWSTR WINAPI StrFormatKBSizeW(LONGLONG llBytes, LPWSTR lpszDest, UINT cchMax)
WCHAR
szBuff
[
256
],
*
szOut
=
szBuff
+
sizeof
(
szBuff
)
/
sizeof
(
WCHAR
)
-
1
;
LONGLONG
ulKB
=
(
llBytes
+
1023
)
>>
10
;
TRACE
(
"(
%lld,%p,%d)
\n
"
,
llBytes
,
lpszDest
,
cchMax
);
TRACE
(
"(
0x%s,%p,%d)
\n
"
,
wine_dbgstr_longlong
(
llBytes
)
,
lpszDest
,
cchMax
);
*
szOut
--
=
'\0'
;
*
szOut
--
=
'B'
;
...
...
@@ -2265,7 +2265,7 @@ LPWSTR WINAPI StrFormatByteSizeW(LONGLONG llBytes, LPWSTR lpszDest, UINT cchMax)
double
dBytes
;
UINT
i
=
0
;
TRACE
(
"(
%lld,%p,%d)
\n
"
,
llBytes
,
lpszDest
,
cchMax
);
TRACE
(
"(
0x%s,%p,%d)
\n
"
,
wine_dbgstr_longlong
(
llBytes
)
,
lpszDest
,
cchMax
);
if
(
!
lpszDest
||
!
cchMax
)
return
lpszDest
;
...
...
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