diff options
author | Allan K. Edwards <ake@apache.org> | 2004-10-06 15:33:29 +0200 |
---|---|---|
committer | Allan K. Edwards <ake@apache.org> | 2004-10-06 15:33:29 +0200 |
commit | 4abcf93fc2f7e61208eaca60cc14852bc2c090e1 (patch) | |
tree | 8adcf2f61c10d06d3e16a8cc3b86230fa7999b8f /support/win32/ApacheMonitor.c | |
parent | Change Apache 2.1 to version 2.1 for political correctness. (diff) | |
download | apache2-4abcf93fc2f7e61208eaca60cc14852bc2c090e1.tar.xz apache2-4abcf93fc2f7e61208eaca60cc14852bc2c090e1.zip |
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/ApacheMonitor.c')
-rw-r--r-- | support/win32/ApacheMonitor.c | 8 |
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: |