diff options
Diffstat (limited to 'misc/win32/misc.c')
-rw-r--r-- | misc/win32/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/win32/misc.c b/misc/win32/misc.c index 5215285aa..eaf896a28 100644 --- a/misc/win32/misc.c +++ b/misc/win32/misc.c @@ -209,7 +209,7 @@ APR_DECLARE_NONSTD(HANDLE) apr_dbg_log(char* fn, HANDLE ha, char* fl, int ln, (sprintf)(sbuf, "%08x %08x %08x %s() %s:%d\n", (DWORD)ha, seq, GetCurrentThreadId(), fn, fl, ln); (EnterCriticalSection)(&cs); - (WriteFile)(fh, sbuf, strlen(sbuf), &wrote, NULL); + (WriteFile)(fh, sbuf, (DWORD)strlen(sbuf), &wrote, NULL); (LeaveCriticalSection)(&cs); } else { @@ -236,7 +236,7 @@ APR_DECLARE_NONSTD(HANDLE) apr_dbg_log(char* fn, HANDLE ha, char* fl, int ln, (sprintf)(sbuf, "%08x %08x %08x %s(%s) %s:%d\n", (DWORD*)*hv, seq, GetCurrentThreadId(), fn, dsc, fl, ln); - (WriteFile)(fh, sbuf, strlen(sbuf), &wrote, NULL); + (WriteFile)(fh, sbuf, (DWORD)strlen(sbuf), &wrote, NULL); } while (--nh); (LeaveCriticalSection)(&cs); va_end(a); |