Skip to content

Commit 4c05108

Browse files
author
Console Service Bot
committed
Merge remote-tracking branch 'origin/main' into feature/llm
2 parents 01c1852 + 84ae7ad commit 4c05108

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/buffer/out/Row.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ void ROW::_init() noexcept
350350
std::iota(_charOffsets.begin(), _charOffsets.end(), uint16_t{ 0 });
351351
#endif
352352

353-
#pragma warning(push)
353+
#pragma warning(pop)
354354
}
355355

356356
void ROW::CopyFrom(const ROW& source)

src/host/ft_host/API_FontTests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void FontTests::TestCurrentFontAPIsInvalid()
6767
}
6868
else
6969
{
70-
hConsoleOutput = (HANDLE)dwConsoleOutput;
70+
hConsoleOutput = ULongToHandle(dwConsoleOutput);
7171
}
7272

7373
if (strOperation == L"Get")
@@ -107,7 +107,7 @@ void FontTests::TestGetFontSizeInvalid()
107107
// Need to make sure that last error is cleared so that we can verify that lasterror was set by GetConsoleFontSize
108108
SetLastError(0);
109109

110-
auto coordFontSize = OneCoreDelay::GetConsoleFontSize((HANDLE)dwConsoleOutput, 0);
110+
auto coordFontSize = OneCoreDelay::GetConsoleFontSize(ULongToHandle(dwConsoleOutput), 0);
111111
VERIFY_ARE_EQUAL(coordFontSize, c_coordZero, L"Ensure (0,0) coord returned to indicate failure");
112112
VERIFY_ARE_EQUAL(GetLastError(), (DWORD)ERROR_INVALID_HANDLE, L"Ensure last error was set appropriately");
113113
}

src/interactivity/onecore/lib/sources

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,3 @@
66

77
TARGETNAME = ConInteractivityOneCoreLib
88
TARGETTYPE = LIBRARY
9-
10-
# VSTS 14847240: Locally suppress individual -Wv:17 compiler warnings.
11-
# For more information, visit https://osgwiki.com/wiki/Windows_C%2B%2B_Toolset_Status.
12-
USER_C_FLAGS=$(USER_C_FLAGS) /wd4302 # 'conversion': truncation from 'type1' to 'type2'
13-
USER_C_FLAGS=$(USER_C_FLAGS) /wd4311 # 'variable': pointer truncation from 'type 1' to 'type 2'

0 commit comments

Comments
 (0)