mirror of
https://github.com/reactos/reactos.git
synced 2024-07-30 16:18:43 +00:00
fixed some warnings
svn path=/trunk/; revision=18820
This commit is contained in:
parent
d0cb6cb732
commit
748170be22
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue