This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-daemon.git
commit 0fd0f04696156bad1ec69c046eeb1765307d4108 Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Sep 30 11:40:40 2019 +0100 Fix warning --- src/native/windows/src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/windows/src/log.c b/src/native/windows/src/log.c index 2d697a2..ea4240c 100644 --- a/src/native/windows/src/log.c +++ b/src/native/windows/src/log.c @@ -360,7 +360,7 @@ apxLogWrite( if (!IS_INVALID_HANDLE(lf->hFile)) { SYSTEMTIME t; /* Append operation */ - SetFilePointer(lf->hFile, 0, &wr, FILE_END); + SetFilePointer(lf->hFile, 0, NULL, FILE_END); GetLocalTime(&t); if (dolock) { APX_LOGLOCK(lf->hFile);