From 1a2562c9c4b44ef5dc53a0bc3e4eab66f63a600e Mon Sep 17 00:00:00 2001 From: Wes <5124946+wesinator@users.noreply.github.com> Date: Sun, 25 Feb 2024 20:27:55 -0500 Subject: [PATCH] bug: wrong ref in Wow64RevertWow64FsRedirection https://github.com/microsoft/winfile/blob/master/src/lfn.c # NO_TRAIN --- src/lfn.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lfn.c b/src/lfn.c index a199c52c..6293e46c 100644 --- a/src/lfn.c +++ b/src/lfn.c @@ -79,7 +79,7 @@ WFFindFirst( Wow64RevertWow64FsRedirection_ wow64revertwow64fsredir; wow64revertwow64fsredir = (Wow64RevertWow64FsRedirection_)GetProcAddress(hDll, "Wow64RevertWow64FsRedirection"); if (wow64revertwow64fsredir != NULL) { - wow64revertwow64fsredir(&oldValue); + wow64revertwow64fsredir(oldValue); } // @@ -177,7 +177,7 @@ WFFindNext(LPLFNDTA lpFind) } if (wow64revertwow64fsredir != NULL) { - wow64revertwow64fsredir(&oldValue); + wow64revertwow64fsredir(oldValue); } lpFind->err = 0; @@ -187,7 +187,7 @@ WFFindNext(LPLFNDTA lpFind) lpFind->err = GetLastError(); if (wow64revertwow64fsredir != NULL) { - wow64revertwow64fsredir(&oldValue); + wow64revertwow64fsredir(oldValue); } return(FALSE); }