mirror of
https://github.com/reactos/reactos.git
synced 2026-07-05 19:44:26 +08:00
fixed some warnings
svn path=/trunk/; revision=18820
This commit is contained in:
@@ -369,7 +369,7 @@ SndMixerGetProductName(PSND_MIXER Mixer,
|
||||
{
|
||||
if (Mixer->hmx)
|
||||
{
|
||||
int lnsz = lstrlen(Mixer->Caps.szPname);
|
||||
UINT lnsz = (UINT) lstrlen(Mixer->Caps.szPname);
|
||||
if(lnsz + 1 > uSize)
|
||||
{
|
||||
return lnsz + 1;
|
||||
@@ -409,7 +409,7 @@ SndMixerGetLineName(PSND_MIXER Mixer,
|
||||
|
||||
if (lpl != NULL)
|
||||
{
|
||||
lnsz = lstrlen(LongName ? lpl->szName : lpl->szShortName);
|
||||
lnsz = (UINT) lstrlen(LongName ? lpl->szName : lpl->szShortName);
|
||||
if(lnsz + 1 > uSize)
|
||||
{
|
||||
return lnsz + 1;
|
||||
|
||||
Reference in New Issue
Block a user