ake 2004/10/06 06:33:29
Modified: modules/arch/win32 mod_win32.c server/mpm/winnt service.c support/win32 ApacheMonitor.c Log: WIN64: fix some windows specific 64bit warnings
- if (!WriteConsole(hConErr, msg, strlen(msg), &result, NULL) || !result)
+ if (!WriteConsole(hConErr, msg, (int)strlen(msg), &result, NULL) || !result)
- if (!WriteConsole(hConErr, count, strlen(count), &result, NULL) + if (!WriteConsole(hConErr, count, (int)strlen(count), &result, NULL) - lstrcpyn(szBuf, szImagePath, sPos - szImagePath);
+ lstrcpyn(szBuf, szImagePath, (int)(sPos - szImagePath));
- TextOut(lpdis->hDC, XBITMAP + 6, y, szBuf, strlen(szBuf)); + TextOut(lpdis->hDC, XBITMAP + 6, y, szBuf, (int)strlen(szBuf));
Please do not do that any more. I'm sorry but I'm vetoing your patches. Use the official API, it is well documented.
size_t != int.
Regards, MT.
smime.p7s
Description: S/MIME Cryptographic Signature