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
7e31baba
Commit
7e31baba
authored
Nov 08, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Suppress sign-extension through integer promotion.
parent
0bed0f4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wsprintf.c
dlls/user32/wsprintf.c
+2
-2
No files found.
dlls/user32/wsprintf.c
View file @
7e31baba
...
...
@@ -475,7 +475,7 @@ static INT wvsnprintfW( LPWSTR buffer, UINT maxlen, LPCWSTR spec, __ms_va_list a
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
:
...
...
@@ -501,7 +501,7 @@ static INT wvsnprintfW( LPWSTR buffer, UINT maxlen, LPCWSTR spec, __ms_va_list a
/* 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