Skip to content

Commit

Permalink
Fix warning in MSVC2019
Browse files Browse the repository at this point in the history
Fix warning about  casting intptr_t to void*
  • Loading branch information
albertvaka authored Aug 9, 2020
1 parent 3dad645 commit 779377f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer_GL_common.inl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ See a particular renderer's *.c file for specifics. */
#pragma warning(disable: 4514 4711 4710)
// Disable warning: Spectre mitigation
#pragma warning(disable: 5045)
// Disable warning: 'type cast': conversion from 'long' to 'void *' of greater size
#pragma warning (disable: 4312)
#endif

#if !defined(GLAPIENTRY)
Expand Down

0 comments on commit 779377f

Please sign in to comment.