Skip to content

Commit

Permalink
Fix char pointer assignment compiler warnings (#187)
Browse files Browse the repository at this point in the history
These were introduced in commit b5d8458.
  • Loading branch information
WinterSnowfall authored Oct 17, 2024
1 parent 7a2f98e commit b39e6d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/d3d8to9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extern "C" HRESULT WINAPI ValidatePixelShader(const DWORD* pPixelShader, const D
#endif

HRESULT hr = E_FAIL;
char* errorMessage = "";
const char* errorMessage = "";

if (!pPixelShader)
{
Expand Down Expand Up @@ -78,7 +78,7 @@ extern "C" HRESULT WINAPI ValidateVertexShader(const DWORD* pVertexShader, const
#endif

HRESULT hr = E_FAIL;
char* errorMessage = "";
const char* errorMessage = "";

if (!pVertexShader)
{
Expand Down

0 comments on commit b39e6d8

Please sign in to comment.