Skip to content

Commit

Permalink
Disable warning and bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdoeffinger committed Jul 28, 2019
1 parent 6eccb8b commit a787386
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions impl11/ddraw/ddraw.rc
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ END
//

1 VERSIONINFO
FILEVERSION 1,5,9
PRODUCTVERSION 1,5,9
FILEVERSION 1,5,10
PRODUCTVERSION 1,5,10
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -66,12 +66,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Jérémy Ansel"
VALUE "FileDescription", "Direct3D 11 implementation for X-Wing series"
VALUE "FileVersion", "1.5.9"
VALUE "FileVersion", "1.5.10"
VALUE "InternalName", "ddraw.dll"
VALUE "LegalCopyright", "Copyright (C) Jérémy Ansel 2014, Reimar Döffinger 2015-2019"
VALUE "OriginalFilename", "ddraw.dll"
VALUE "ProductName", "xwa_ddraw_d3d11"
VALUE "ProductVersion", "1.5.9"
VALUE "ProductVersion", "1.5.10"
END
END
BLOCK "VarFileInfo"
Expand Down
3 changes: 3 additions & 0 deletions impl11/ddraw/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ using namespace Gdiplus;
std::string wchar_tostring(LPCWSTR text)
{
std::wstring wstr(text);
#pragma warning(push)
#pragma warning(disable:4244)
return std::string(wstr.begin(), wstr.end());
#pragma warning(pop)
}

#if LOGGER
Expand Down

0 comments on commit a787386

Please sign in to comment.