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
82434be6
Commit
82434be6
authored
Jul 29, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc 4.0 warning fixes.
parent
e0097da1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
17 deletions
+17
-17
interface.c
dlls/msacm/winemp3/interface.c
+2
-2
mpegl3.c
dlls/msacm/winemp3/mpegl3.c
+1
-1
mpglib.h
dlls/msacm/winemp3/mpglib.h
+2
-2
istream.c
dlls/shlwapi/istream.c
+1
-1
regstream.c
dlls/shlwapi/regstream.c
+1
-1
shreg.c
dlls/shlwapi/tests/shreg.c
+3
-3
midi.c
dlls/winmm/winealsa/midi.c
+1
-1
dsrender.c
dlls/winmm/wineoss/dsrender.c
+4
-4
midi.c
dlls/winmm/wineoss/midi.c
+2
-2
No files found.
dlls/msacm/winemp3/interface.c
View file @
82434be6
...
...
@@ -63,7 +63,7 @@ void ExitMP3(struct mpstr *mp)
}
}
static
struct
buf
*
addbuf
(
struct
mpstr
*
mp
,
char
*
buf
,
int
size
)
static
struct
buf
*
addbuf
(
struct
mpstr
*
mp
,
c
onst
unsigned
c
har
*
buf
,
int
size
)
{
struct
buf
*
nbuf
;
...
...
@@ -151,7 +151,7 @@ static void read_head(struct mpstr *mp)
mp
->
header
=
head
;
}
int
decodeMP3
(
struct
mpstr
*
mp
,
c
har
*
in
,
int
isize
,
char
*
out
,
int
decodeMP3
(
struct
mpstr
*
mp
,
c
onst
unsigned
char
*
in
,
int
isize
,
unsigned
char
*
out
,
int
osize
,
int
*
done
)
{
int
len
;
...
...
dlls/msacm/winemp3/mpegl3.c
View file @
82434be6
...
...
@@ -150,7 +150,7 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
int
size
,
ret
;
DWORD
dpos
=
0
;
ret
=
decodeMP3
(
&
amd
->
mp
,
(
unsigned
char
*
)
src
,
*
nsrc
,
dst
,
*
ndst
,
&
size
);
ret
=
decodeMP3
(
&
amd
->
mp
,
src
,
*
nsrc
,
dst
,
*
ndst
,
&
size
);
if
(
ret
!=
MP3_OK
)
{
*
ndst
=
*
nsrc
=
0
;
...
...
dlls/msacm/winemp3/mpglib.h
View file @
82434be6
...
...
@@ -60,8 +60,8 @@ extern "C" {
#endif
BOOL
InitMP3
(
struct
mpstr
*
mp
);
int
decodeMP3
(
struct
mpstr
*
mp
,
char
*
inmemory
,
int
inmemsize
,
char
*
outmemory
,
int
outmemsize
,
int
*
done
);
int
decodeMP3
(
struct
mpstr
*
mp
,
c
onst
unsigned
c
har
*
inmemory
,
int
inmemsize
,
unsigned
char
*
outmemory
,
int
outmemsize
,
int
*
done
);
void
ExitMP3
(
struct
mpstr
*
mp
);
#ifdef __cplusplus
...
...
dlls/shlwapi/istream.c
View file @
82434be6
...
...
@@ -43,7 +43,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(shell);
typedef
struct
{
const
IStreamVtbl
*
lpVtbl
;
ULONG
ref
;
LONG
ref
;
HANDLE
hFile
;
DWORD
dwMode
;
LPOLESTR
lpszPath
;
...
...
dlls/shlwapi/regstream.c
View file @
82434be6
...
...
@@ -37,7 +37,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(shell);
typedef
struct
{
const
IStreamVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
HKEY
hKey
;
LPBYTE
pbBuffer
;
DWORD
dwLength
;
...
...
dlls/shlwapi/tests/shreg.c
View file @
82434be6
...
...
@@ -84,9 +84,9 @@ static HKEY create_test_entries(void)
if
(
hKey
)
{
ok
(
!
RegSetValueExA
(
hKey
,
"Test1"
,
0
,
REG_EXPAND_SZ
,
sTestpath1
,
strlen
(
sTestpath1
)
+
1
),
"RegSetValueExA failed
\n
"
);
ok
(
!
RegSetValueExA
(
hKey
,
"Test2"
,
0
,
REG_SZ
,
sTestpath1
,
strlen
(
sTestpath1
)
+
1
),
"RegSetValueExA failed
\n
"
);
ok
(
!
RegSetValueExA
(
hKey
,
"Test3"
,
0
,
REG_EXPAND_SZ
,
sTestpath2
,
strlen
(
sTestpath2
)
+
1
),
"RegSetValueExA failed
\n
"
);
ok
(
!
RegSetValueExA
(
hKey
,
"Test1"
,
0
,
REG_EXPAND_SZ
,
(
LPBYTE
)
sTestpath1
,
strlen
(
sTestpath1
)
+
1
),
"RegSetValueExA failed
\n
"
);
ok
(
!
RegSetValueExA
(
hKey
,
"Test2"
,
0
,
REG_SZ
,
(
LPBYTE
)
sTestpath1
,
strlen
(
sTestpath1
)
+
1
),
"RegSetValueExA failed
\n
"
);
ok
(
!
RegSetValueExA
(
hKey
,
"Test3"
,
0
,
REG_EXPAND_SZ
,
(
LPBYTE
)
sTestpath2
,
strlen
(
sTestpath2
)
+
1
),
"RegSetValueExA failed
\n
"
);
}
sExpLen1
=
ExpandEnvironmentStringsA
(
sTestpath1
,
sExpTestpath1
,
sizeof
(
sExpTestpath1
));
...
...
dlls/winmm/winealsa/midi.c
View file @
82434be6
...
...
@@ -928,7 +928,7 @@ static DWORD modLongData(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
return
MIDIERR_NODEVICE
;
}
lpData
=
lpMidiHdr
->
lpData
;
lpData
=
(
LPBYTE
)
lpMidiHdr
->
lpData
;
if
(
lpData
==
NULL
)
return
MIDIERR_UNPREPARED
;
...
...
dlls/winmm/wineoss/dsrender.c
View file @
82434be6
...
...
@@ -77,7 +77,7 @@ struct IDsDriverPropertySetImpl
{
/* IUnknown fields */
const
IDsDriverPropertySetVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
IDsDriverBufferImpl
*
buffer
;
};
...
...
@@ -86,7 +86,7 @@ struct IDsDriverNotifyImpl
{
/* IUnknown fields */
const
IDsDriverNotifyVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IDsDriverNotifyImpl fields */
LPDSBPOSITIONNOTIFY
notifies
;
...
...
@@ -99,7 +99,7 @@ struct IDsDriverImpl
{
/* IUnknown fields */
const
IDsDriverVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IDsDriverImpl fields */
UINT
wDevID
;
...
...
@@ -113,7 +113,7 @@ struct IDsDriverBufferImpl
{
/* IUnknown fields */
const
IDsDriverBufferVtbl
*
lpVtbl
;
DWORD
ref
;
LONG
ref
;
/* IDsDriverBufferImpl fields */
IDsDriverImpl
*
drv
;
...
...
dlls/winmm/wineoss/midi.c
View file @
82434be6
...
...
@@ -527,7 +527,7 @@ static void midReceiveChar(WORD wDevID, unsigned char value, DWORD dwTime)
EnterCriticalSection
(
&
crit_sect
);
if
((
lpMidiHdr
=
MidiInDev
[
wDevID
].
lpQueueHdr
)
!=
NULL
)
{
LPBYTE
lpData
=
lpMidiHdr
->
lpData
;
LPBYTE
lpData
=
(
LPBYTE
)
lpMidiHdr
->
lpData
;
lpData
[
lpMidiHdr
->
dwBytesRecorded
++
]
=
value
;
if
(
lpMidiHdr
->
dwBytesRecorded
==
lpMidiHdr
->
dwBufferLength
)
{
...
...
@@ -1512,7 +1512,7 @@ static DWORD modLongData(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
return
MIDIERR_NODEVICE
;
}
lpData
=
lpMidiHdr
->
lpData
;
lpData
=
(
LPBYTE
)
lpMidiHdr
->
lpData
;
if
(
lpData
==
NULL
)
return
MIDIERR_UNPREPARED
;
...
...
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