https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2ddebe3291568bb18d03207337315d4f38d4d630
commit 2ddebe3291568bb18d03207337315d4f38d4d630 Author: Pierre Schweitzer <pie...@reactos.org> AuthorDate: Sat Nov 18 21:36:57 2017 +0100 [NFS41_NP] Attempt to fix MSVC build --- dll/np/nfs/nfs41_np.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dll/np/nfs/nfs41_np.c b/dll/np/nfs/nfs41_np.c index 42aa46730d..ce03c41999 100644 --- a/dll/np/nfs/nfs41_np.c +++ b/dll/np/nfs/nfs41_np.c @@ -649,10 +649,11 @@ NPCancelConnection( DbgP((TEXT("NPCancelConnection: Name %S EntryName %S\n"), lpName,pNetResource->LocalName)); - DbgP((TEXT("NPCancelConnection: Name Length %d Entry Name Length %d\n"), #ifndef __REACTOS__ + DbgP((TEXT("NPCancelConnection: Name Length %d Entry Name Length %d\n"), pNetResource->LocalNameLength,pNetResource->LocalName)); #else + DbgP((TEXT("NPCancelConnection: Name Length %d Entry Name Length %d\n"), (wcslen(lpName) + 1) * sizeof(WCHAR), pNetResource->LocalNameLength)); #endif