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
05413fcc
Commit
05413fcc
authored
Apr 18, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some signed / unsigned pointer casts.
parent
3bebb0fe
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
imaadp32.c
dlls/msacm/imaadp32/imaadp32.c
+2
-2
mbcs.c
dlls/msvcrt/mbcs.c
+2
-2
winecfg.c
programs/winecfg/winecfg.c
+1
-1
No files found.
dlls/msacm/imaadp32/imaadp32.c
View file @
05413fcc
...
...
@@ -372,7 +372,7 @@ static void cvtSS16imaK(PACMDRVSTREAMINSTANCE adsi,
for
(;
nblock
>
0
;
nblock
--
)
{
char
*
in_dst
=
dst
;
unsigned
char
*
in_dst
=
dst
;
/* generate header */
sampleL
=
R16
(
src
);
src
+=
2
;
...
...
@@ -435,7 +435,7 @@ static void cvtMM16imaK(PACMDRVSTREAMINSTANCE adsi,
for
(;
nblock
>
0
;
nblock
--
)
{
char
*
in_dst
=
dst
;
unsigned
char
*
in_dst
=
dst
;
/* generate header */
/* FIXME: what about the last effective sample from previous block ??? */
...
...
dlls/msvcrt/mbcs.c
View file @
05413fcc
...
...
@@ -112,9 +112,9 @@ unsigned int _mbctoupper(unsigned int c)
unsigned
char
*
_mbsdec
(
const
unsigned
char
*
start
,
const
unsigned
char
*
cur
)
{
if
(
MSVCRT___mb_cur_max
>
1
)
return
(
char
*
)(
_ismbstrail
(
start
,
cur
-
1
)
?
cur
-
2
:
cur
-
1
);
return
(
unsigned
char
*
)(
_ismbstrail
(
start
,
cur
-
1
)
?
cur
-
2
:
cur
-
1
);
return
(
char
*
)
cur
-
1
;
/* ASCII CP or SB char */
return
(
unsigned
char
*
)
cur
-
1
;
/* ASCII CP or SB char */
}
/*********************************************************************
...
...
programs/winecfg/winecfg.c
View file @
05413fcc
...
...
@@ -125,7 +125,7 @@ static char *get_config_key (char *subkey, char *name, char *def)
end:
if
(
hSubKey
)
RegCloseKey
(
hSubKey
);
return
buffer
;
return
(
char
*
)
buffer
;
}
/**
...
...
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