--- 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);
--- 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: