We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2891d39 commit 1c5c9a1Copy full SHA for 1c5c9a1
src/isql/isql.epp
@@ -344,7 +344,7 @@ static int win32ReadConsole(FILE* file, CharBuffer& mbBuffer)
344
// buffers and set ERROR_NOT_ENOUGH_MEMORY error. Thus, use initial buffer size
345
// twice less than for Windows 10 and handle error by reducing the buffer size.
346
347
- static size_t maxLineLength = IsWindows10OrGreater() ? MAX_USHORT : MAX_SSHORT;
+ static DWORD maxLineLength = IsWindows10OrGreater() ? MAX_USHORT : MAX_SSHORT;
348
WCHAR* wideBuf = wideBuffer->getBuffer(maxLineLength, false);
349
350
DWORD charsRead;
0 commit comments