Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0bed0f4c
Commit
0bed0f4c
authored
Nov 08, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Suppress sign-extension through integer promotion.
parent
65710af2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wsprintf.c
dlls/shlwapi/wsprintf.c
+2
-2
No files found.
dlls/shlwapi/wsprintf.c
View file @
0bed0f4c
...
...
@@ -488,7 +488,7 @@ INT WINAPI wvnsprintfW( LPWSTR buffer, INT maxlen, LPCWSTR spec, __ms_va_list ar
case
WPR_STRING
:
{
LPCSTR
ptr
=
argData
.
lpcstr_view
;
for
(
i
=
0
;
i
<
len
;
i
++
)
*
p
++
=
(
WCHAR
)
*
ptr
++
;
for
(
i
=
0
;
i
<
len
;
i
++
)
*
p
++
=
(
BYTE
)
*
ptr
++
;
}
break
;
case
WPR_WSTRING
:
...
...
@@ -514,7 +514,7 @@ INT WINAPI wvnsprintfW( LPWSTR buffer, INT maxlen, LPCWSTR spec, __ms_va_list ar
/* fall through */
case
WPR_UNSIGNED
:
for
(
i
=
len
;
i
<
format
.
precision
;
i
++
,
maxlen
--
)
*
p
++
=
'0'
;
for
(
i
=
sign
;
i
<
len
;
i
++
)
*
p
++
=
(
WCHAR
)
number
[
i
];
for
(
i
=
sign
;
i
<
len
;
i
++
)
*
p
++
=
(
BYTE
)
number
[
i
];
break
;
case
WPR_UNKNOWN
:
continue
;
...
...
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