fixed some warnings

svn path=/trunk/; revision=18820
This commit is contained in:
Christoph von Wittich 2005-10-28 00:38:46 +00:00
parent d0cb6cb732
commit 748170be22

View file

@ -369,7 +369,7 @@ SndMixerGetProductName(PSND_MIXER Mixer,
{ {
if (Mixer->hmx) if (Mixer->hmx)
{ {
int lnsz = lstrlen(Mixer->Caps.szPname); UINT lnsz = (UINT) lstrlen(Mixer->Caps.szPname);
if(lnsz + 1 > uSize) if(lnsz + 1 > uSize)
{ {
return lnsz + 1; return lnsz + 1;
@ -409,7 +409,7 @@ SndMixerGetLineName(PSND_MIXER Mixer,
if (lpl != NULL) if (lpl != NULL)
{ {
lnsz = lstrlen(LongName ? lpl->szName : lpl->szShortName); lnsz = (UINT) lstrlen(LongName ? lpl->szName : lpl->szShortName);
if(lnsz + 1 > uSize) if(lnsz + 1 > uSize)
{ {
return lnsz + 1; return lnsz + 1;