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
c1a5b06d
Commit
c1a5b06d
authored
Oct 31, 2013
by
Andrey Zhezherun
Committed by
Alexandre Julliard
Nov 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp: Added missing casts to unsigned char in streambuf functions.
parent
43d31483
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
ios.c
dlls/msvcp100/ios.c
+1
-1
ios.c
dlls/msvcp60/ios.c
+3
-3
ios.c
dlls/msvcp71/ios.c
+3
-3
ios.c
dlls/msvcp80/ios.c
+3
-3
ios.c
dlls/msvcp90/ios.c
+3
-3
No files found.
dlls/msvcp100/ios.c
View file @
c1a5b06d
...
@@ -978,7 +978,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
...
@@ -978,7 +978,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
{
{
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
return
basic_streambuf_char__Pnavail
(
this
)
?
return
basic_streambuf_char__Pnavail
(
this
)
?
(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
}
}
...
...
dlls/msvcp60/ios.c
View file @
c1a5b06d
...
@@ -1409,7 +1409,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
...
@@ -1409,7 +1409,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
{
{
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
return
basic_streambuf_char__Pnavail
(
this
)
?
return
basic_streambuf_char__Pnavail
(
this
)
?
(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
}
}
...
@@ -3447,7 +3447,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
...
@@ -3447,7 +3447,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
this
->
seekhigh
,
basic_streambuf_char_epptr
(
&
this
->
base
));
this
->
seekhigh
,
basic_streambuf_char_epptr
(
&
this
->
base
));
if
(
ptr
&&
ptr
<
basic_streambuf_char_epptr
(
&
this
->
base
))
if
(
ptr
&&
ptr
<
basic_streambuf_char_epptr
(
&
this
->
base
))
return
(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
return
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
oldsize
=
(
ptr
?
basic_streambuf_char_epptr
(
&
this
->
base
)
-
basic_streambuf_char_eback
(
&
this
->
base
)
:
0
);
oldsize
=
(
ptr
?
basic_streambuf_char_epptr
(
&
this
->
base
)
-
basic_streambuf_char_eback
(
&
this
->
base
)
:
0
);
size
=
oldsize
|
0xf
;
size
=
oldsize
|
0xf
;
...
@@ -3484,7 +3484,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
...
@@ -3484,7 +3484,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
MSVCRT_operator_delete
(
ptr
);
MSVCRT_operator_delete
(
ptr
);
}
}
return
(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
return
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
}
}
/* ?pbackfail@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAEHH@Z */
/* ?pbackfail@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAEHH@Z */
...
...
dlls/msvcp71/ios.c
View file @
c1a5b06d
...
@@ -1451,7 +1451,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
...
@@ -1451,7 +1451,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
{
{
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
return
basic_streambuf_char__Pnavail
(
this
)
?
return
basic_streambuf_char__Pnavail
(
this
)
?
(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
}
}
...
@@ -3697,7 +3697,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
...
@@ -3697,7 +3697,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
this
->
seekhigh
,
basic_streambuf_char_epptr
(
&
this
->
base
));
this
->
seekhigh
,
basic_streambuf_char_epptr
(
&
this
->
base
));
if
(
ptr
&&
ptr
<
basic_streambuf_char_epptr
(
&
this
->
base
))
if
(
ptr
&&
ptr
<
basic_streambuf_char_epptr
(
&
this
->
base
))
return
(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
return
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
oldsize
=
(
ptr
?
basic_streambuf_char_epptr
(
&
this
->
base
)
-
basic_streambuf_char_eback
(
&
this
->
base
)
:
0
);
oldsize
=
(
ptr
?
basic_streambuf_char_epptr
(
&
this
->
base
)
-
basic_streambuf_char_eback
(
&
this
->
base
)
:
0
);
size
=
oldsize
|
0xf
;
size
=
oldsize
|
0xf
;
...
@@ -3734,7 +3734,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
...
@@ -3734,7 +3734,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
MSVCRT_operator_delete
(
ptr
);
MSVCRT_operator_delete
(
ptr
);
}
}
return
(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
return
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
}
}
/* ?pbackfail@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAEHH@Z */
/* ?pbackfail@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAEHH@Z */
...
...
dlls/msvcp80/ios.c
View file @
c1a5b06d
...
@@ -1406,7 +1406,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
...
@@ -1406,7 +1406,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
{
{
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
return
basic_streambuf_char__Pnavail
(
this
)
?
return
basic_streambuf_char__Pnavail
(
this
)
?
(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
}
}
...
@@ -3702,7 +3702,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
...
@@ -3702,7 +3702,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
this
->
seekhigh
,
basic_streambuf_char_epptr
(
&
this
->
base
));
this
->
seekhigh
,
basic_streambuf_char_epptr
(
&
this
->
base
));
if
(
ptr
&&
ptr
<
basic_streambuf_char_epptr
(
&
this
->
base
))
if
(
ptr
&&
ptr
<
basic_streambuf_char_epptr
(
&
this
->
base
))
return
(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
return
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
oldsize
=
(
ptr
?
basic_streambuf_char_epptr
(
&
this
->
base
)
-
basic_streambuf_char_eback
(
&
this
->
base
)
:
0
);
oldsize
=
(
ptr
?
basic_streambuf_char_epptr
(
&
this
->
base
)
-
basic_streambuf_char_eback
(
&
this
->
base
)
:
0
);
size
=
oldsize
|
0xf
;
size
=
oldsize
|
0xf
;
...
@@ -3739,7 +3739,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
...
@@ -3739,7 +3739,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
MSVCRT_operator_delete
(
ptr
);
MSVCRT_operator_delete
(
ptr
);
}
}
return
(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
return
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
}
}
/* ?pbackfail@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAEHH@Z */
/* ?pbackfail@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAEHH@Z */
...
...
dlls/msvcp90/ios.c
View file @
c1a5b06d
...
@@ -1406,7 +1406,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
...
@@ -1406,7 +1406,7 @@ int __thiscall basic_streambuf_char_sputc(basic_streambuf_char *this, char ch)
{
{
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
TRACE
(
"(%p %d)
\n
"
,
this
,
ch
);
return
basic_streambuf_char__Pnavail
(
this
)
?
return
basic_streambuf_char__Pnavail
(
this
)
?
(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
this
)
=
ch
)
:
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
call_basic_streambuf_char_overflow
(
this
,
(
unsigned
char
)
ch
);
}
}
...
@@ -3702,7 +3702,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
...
@@ -3702,7 +3702,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
this
->
seekhigh
,
basic_streambuf_char_epptr
(
&
this
->
base
));
this
->
seekhigh
,
basic_streambuf_char_epptr
(
&
this
->
base
));
if
(
ptr
&&
ptr
<
basic_streambuf_char_epptr
(
&
this
->
base
))
if
(
ptr
&&
ptr
<
basic_streambuf_char_epptr
(
&
this
->
base
))
return
(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
return
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
oldsize
=
(
ptr
?
basic_streambuf_char_epptr
(
&
this
->
base
)
-
basic_streambuf_char_eback
(
&
this
->
base
)
:
0
);
oldsize
=
(
ptr
?
basic_streambuf_char_epptr
(
&
this
->
base
)
-
basic_streambuf_char_eback
(
&
this
->
base
)
:
0
);
size
=
oldsize
|
0xf
;
size
=
oldsize
|
0xf
;
...
@@ -3739,7 +3739,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
...
@@ -3739,7 +3739,7 @@ int __thiscall basic_stringbuf_char_overflow(basic_stringbuf_char *this, int met
MSVCRT_operator_delete
(
ptr
);
MSVCRT_operator_delete
(
ptr
);
}
}
return
(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
return
(
unsigned
char
)(
*
basic_streambuf_char__Pninc
(
&
this
->
base
)
=
meta
);
}
}
/* ?pbackfail@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAEHH@Z */
/* ?pbackfail@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@MAEHH@Z */
...
...
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