aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-06-11 12:01:39 +0200
committerraysan5 <raysan5@gmail.com>2016-06-11 12:01:39 +0200
commit38847169480ea52e77a27949c139eca574ac2ba0 (patch)
treeab842e37215911cf947dc4f65883e16ce31eafb0 /src
parent8de1427803682f2ab0ca3ceda7834c72d4e9c030 (diff)
downloadraylib-38847169480ea52e77a27949c139eca574ac2ba0.tar.gz
raylib-38847169480ea52e77a27949c139eca574ac2ba0.zip
Corrected a couple of warnings
Diffstat (limited to 'src')
-rw-r--r--src/audio.c1
-rw-r--r--src/external/jar_mod.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/audio.c b/src/audio.c
index e06994b8..a76a453f 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -144,7 +144,6 @@ typedef enum { INFO = 0, ERROR, WARNING, DEBUG, OTHER } TraceLogType;
//----------------------------------------------------------------------------------
static Music musicChannels_g[MAX_MUSIC_STREAMS]; // Current music loaded, up to two can play at the same time
static MixChannel_t *mixChannels_g[MAX_MIX_CHANNELS]; // What mix channels are currently active
-static bool musicEnabled_g = false;
static int lastAudioError = 0; // Registers last audio error
diff --git a/src/external/jar_mod.h b/src/external/jar_mod.h
index e0169d5e..c39db65a 100644
--- a/src/external/jar_mod.h
+++ b/src/external/jar_mod.h
@@ -64,7 +64,7 @@
// - "Load" a MOD from file, context must already be initialized.
// Return size of file in bytes.
// -------------------------------------------
-// void jar_mod_fillbuffer( jar_mod_context_t * modctx, unsigned short * outbuffer, unsigned long nbsample, jar_mod_tracker_buffer_state * trkbuf )
+// void jar_mod_fillbuffer( jar_mod_context_t * modctx, short * outbuffer, unsigned long nbsample, jar_mod_tracker_buffer_state * trkbuf )
//
// - Generate and return the next samples chunk to outbuffer.
// nbsample specify the number of stereo 16bits samples you want.
@@ -1557,7 +1557,7 @@ mulong jar_mod_current_samples(jar_mod_context_t * modctx)
// Works, however it is very slow, this data should be cached to ensure it is run only once per file
mulong jar_mod_max_samples(jar_mod_context_t * ctx)
{
- muint buff[2];
+ mint buff[2];
mulong len;
mulong lastcount = ctx->loopcount;