[ros-diffs] [cwittich] 18820: fixed some warnings

cwittich at svn.reactos.com cwittich at svn.reactos.com
Fri Oct 28 02:39:02 CEST 2005


fixed some warnings
Modified: trunk/reactos/subsys/system/sndvol32/mixer.c
  _____  

Modified: trunk/reactos/subsys/system/sndvol32/mixer.c
--- trunk/reactos/subsys/system/sndvol32/mixer.c	2005-10-28
00:14:27 UTC (rev 18819)
+++ trunk/reactos/subsys/system/sndvol32/mixer.c	2005-10-28
00:38:46 UTC (rev 18820)
@@ -369,7 +369,7 @@

 {
     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 @@
 
         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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051028/d4bcb26f/attachment.html


More information about the Ros-diffs mailing list