mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
fixed some warnings
svn path=/trunk/; revision=18820
This commit is contained in:
parent
d0cb6cb732
commit
748170be22
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue