summaryrefslogtreecommitdiff
path: root/support/win32
diff options
context:
space:
mode:
authorAllan K. Edwards <ake@apache.org>2004-10-06 13:33:29 +0000
committerAllan K. Edwards <ake@apache.org>2004-10-06 13:33:29 +0000
commit4abcf93fc2f7e61208eaca60cc14852bc2c090e1 (patch)
tree8adcf2f61c10d06d3e16a8cc3b86230fa7999b8f /support/win32
parent677d43f6fea867baa8c030b859ae42e275743f4b (diff)
downloadhttpd-4abcf93fc2f7e61208eaca60cc14852bc2c090e1.tar.gz
WIN64: fix some windows specific 64bit warnings
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105390 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/win32')
-rw-r--r--support/win32/ApacheMonitor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/support/win32/ApacheMonitor.c b/support/win32/ApacheMonitor.c
index edf1f39579..1c4120b537 100644
--- a/support/win32/ApacheMonitor.c
+++ b/support/win32/ApacheMonitor.c
@@ -492,7 +492,7 @@ BOOL CenterWindow(HWND hwndChild)
static void addListBoxItem(HWND hDlg, LPSTR lpStr, HBITMAP hBmp)
{
- int nItem;
+ LRESULT nItem;
nItem = SendMessage(hDlg, LB_ADDSTRING, 0, (LPARAM)lpStr);
SendMessage(hDlg, LB_SETITEMDATA, nItem, (LPARAM)hBmp);
@@ -688,7 +688,7 @@ BOOL ApacheManageService(LPCSTR szServiceName, LPCSTR szImagePath,
sPos = strstr(szImagePath, "-k start");
if (sPos)
{
- lstrcpyn(szBuf, szImagePath, sPos - szImagePath);
+ lstrcpyn(szBuf, szImagePath, (int)(sPos - szImagePath));
switch (dwCommand)
{
case SERVICE_CONTROL_STOP:
@@ -1142,7 +1142,7 @@ LRESULT CALLBACK ServiceDlgProc(HWND hDlg, UINT message,
int i, y;
HDC hdcMem;
RECT rcBitmap;
- UINT nItem;
+ LRESULT nItem;
LPMEASUREITEMSTRUCT lpmis;
LPDRAWITEMSTRUCT lpdis;
@@ -1324,7 +1324,7 @@ LRESULT CALLBACK ServiceDlgProc(HWND hDlg, UINT message,
SetBkColor(lpdis->hDC, GetSysColor(COLOR_WINDOW));
FillRect(lpdis->hDC, &rcBitmap, (HBRUSH)(COLOR_WINDOW+1));
}
- TextOut(lpdis->hDC, XBITMAP + 6, y, szBuf, strlen(szBuf));
+ TextOut(lpdis->hDC, XBITMAP + 6, y, szBuf, (int)strlen(szBuf));
break;
case ODA_FOCUS: