From 9643901a833647ae5d93f97f5f08fd3f87cae1ab Mon Sep 17 00:00:00 2001 From: tbeu Date: Wed, 20 Mar 2024 22:06:32 +0100 Subject: [PATCH] Fix MSVC C++ 20 compiler issue --- TestAPI/testMPageMemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestAPI/testMPageMemory.cpp b/TestAPI/testMPageMemory.cpp index 122ac25..8734229 100644 --- a/TestAPI/testMPageMemory.cpp +++ b/TestAPI/testMPageMemory.cpp @@ -161,7 +161,7 @@ loadBuffer(const char *lpszPathName, BYTE **buffer, DWORD *length) { return FALSE; } -BOOL testMemoryStreamMultiPageOpenSave(const char *lpszPathName, char *output, int input_flag, int output_flag) { +BOOL testMemoryStreamMultiPageOpenSave(const char *lpszPathName, const char *output, int input_flag, int output_flag) { BOOL bSuccess = FALSE; BYTE *buffer = NULL;