fixing 20 VS waring msg
Modified: trunk/reactos/subsys/system/calc/dialog.c
Modified: trunk/reactos/subsys/system/calc/stats.c

Modified: trunk/reactos/subsys/system/calc/dialog.c
--- trunk/reactos/subsys/system/calc/dialog.c	2005-12-24 23:24:40 UTC (rev 20324)
+++ trunk/reactos/subsys/system/calc/dialog.c	2005-12-25 02:05:50 UTC (rev 20325)
@@ -72,11 +72,11 @@
 
         SetBkMode(hdc, TRANSPARENT);
 
-        TextOut(hdc, 10, 10, c1, _tcslen(c1));
-        TextOut(hdc, 10, 35, c2, _tcslen(c2));
-        TextOut(hdc, 10, 50, c3, _tcslen(c3));
-        TextOut(hdc, 10, 75, c4, _tcslen(c4));
-        TextOut(hdc, 10, 90, c5, _tcslen(c5));
+        TextOut(hdc, 10, 10, c1, (INT) _tcslen(c1));
+        TextOut(hdc, 10, 35, c2, (INT) _tcslen(c2));
+        TextOut(hdc, 10, 50, c3, (INT) _tcslen(c3));
+        TextOut(hdc, 10, 75, c4, (INT) _tcslen(c4));
+        TextOut(hdc, 10, 90, c5, (INT) _tcslen(c5));
 
         SelectObject(hdc, hFontOrg);
 

Modified: trunk/reactos/subsys/system/calc/stats.c
--- trunk/reactos/subsys/system/calc/stats.c	2005-12-24 23:24:40 UTC (rev 20324)
+++ trunk/reactos/subsys/system/calc/stats.c	2005-12-25 02:05:50 UTC (rev 20325)
@@ -72,23 +72,23 @@
 
 		case ID_STATS_LOAD:
 			{
-			   int i;
+			   INT i;
 
-			   i = SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
-                           SendMessage(hWndListBox, LB_GETTEXT,   i, (LPARAM)calc.buffer);
+			   i = (INT) SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
+               SendMessage(hWndListBox, LB_GETTEXT,   i, (LPARAM)calc.buffer);
 			   calc_buffer_display(&calc);
-                        }
+             }
             return 0;
 
 		case ID_STATS_CD:
 			{
-			   int i;
+			   INT i;
 
-			   i = SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
-                           SendMessage(hWndListBox, LB_DELETESTRING, i, 0);
-                           InvalidateRect(hDlg,NULL,TRUE);
+			   i = (INT) SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
+               SendMessage(hWndListBox, LB_DELETESTRING, i, 0);
+               InvalidateRect(hDlg,NULL,TRUE);
 			   UpdateWindow(hDlg);
-                        }
+             }
 			return 0;
 
 		case ID_STATS_CAD: