summaryrefslogtreecommitdiffhomepage
path: root/src/raudio.c
diff options
context:
space:
mode:
authorJeffery Myers <[email protected]>2023-04-09 13:42:15 -0700
committerGitHub <[email protected]>2023-04-09 22:42:15 +0200
commite57ee9c0e84de9cbf6fddf2f46786e87c64cb64e (patch)
treeadaae055089883991aac95072d1186a87f8ce556 /src/raudio.c
parent06c17ab7f1eec157f70a9fde702a6332c89763af (diff)
downloadraylib-e57ee9c0e84de9cbf6fddf2f46786e87c64cb64e.tar.gz
raylib-e57ee9c0e84de9cbf6fddf2f46786e87c64cb64e.zip
Fix warnings in raylib for MSVC (#3004)
Diffstat (limited to 'src/raudio.c')
-rw-r--r--src/raudio.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/raudio.c b/src/raudio.c
index d7ee183a..1eec97da 100644
--- a/src/raudio.c
+++ b/src/raudio.c
@@ -228,6 +228,14 @@ typedef struct tagBITMAPINFOHEADER {
#define QOA_MALLOC RL_MALLOC
#define QOA_FREE RL_FREE
+#if defined(_MSC_VER ) // par shapes has 2 warnings on windows, so disable them just fof this file
+#pragma warning( push )
+#pragma warning( disable : 4018)
+#pragma warning( disable : 4267)
+#pragma warning( disable : 4244)
+#endif
+
+
#define QOA_IMPLEMENTATION
#include "external/qoa.h" // QOA loading and saving functions
#include "external/qoaplay.c" // QOA stream playing helper functions