diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/doom/doom.make | 2 | ||||
-rw-r--r-- | apps/plugins/midi/midiutil.c | 6 | ||||
-rw-r--r-- | apps/plugins/zxbox/zxbox.make | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/doom/doom.make b/apps/plugins/doom/doom.make index 54a63eb707..2f52da4a4e 100644 --- a/apps/plugins/doom/doom.make +++ b/apps/plugins/doom/doom.make | |||
@@ -19,7 +19,7 @@ DOOM_OBJ := $(call c2obj, $(DOOM_SRC)) | |||
19 | # add source files to OTHER_SRC to get automatic dependencies | 19 | # add source files to OTHER_SRC to get automatic dependencies |
20 | OTHER_SRC += $(DOOM_SRC) | 20 | OTHER_SRC += $(DOOM_SRC) |
21 | 21 | ||
22 | DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 | 22 | DOOMCFLAGS = $(PLUGINFLAGS) -Wno-strict-prototypes -O2 -fno-strict-aliasing |
23 | 23 | ||
24 | ifndef SIMVER | 24 | ifndef SIMVER |
25 | ifeq ($(TARGET), IRIVER_H100) | 25 | ifeq ($(TARGET), IRIVER_H100) |
diff --git a/apps/plugins/midi/midiutil.c b/apps/plugins/midi/midiutil.c index 87e0f9d9a4..acb1558268 100644 --- a/apps/plugins/midi/midiutil.c +++ b/apps/plugins/midi/midiutil.c | |||
@@ -40,7 +40,7 @@ struct SynthObject voices[MAX_VOICES] IBSS_ATTR; | |||
40 | void *alloc(int size) | 40 | void *alloc(int size) |
41 | { | 41 | { |
42 | static char *offset = NULL; | 42 | static char *offset = NULL; |
43 | static ssize_t totalSize = 0; | 43 | static size_t totalSize = 0; |
44 | char *ret; | 44 | char *ret; |
45 | 45 | ||
46 | int remainder = size % 4; | 46 | int remainder = size % 4; |
@@ -49,10 +49,10 @@ void *alloc(int size) | |||
49 | 49 | ||
50 | if (offset == NULL) | 50 | if (offset == NULL) |
51 | { | 51 | { |
52 | offset = rb->plugin_get_audio_buffer((size_t *)&totalSize); | 52 | offset = rb->plugin_get_audio_buffer(&totalSize); |
53 | } | 53 | } |
54 | 54 | ||
55 | if (size + 4 > totalSize) | 55 | if (size + 4 > (int)totalSize) |
56 | { | 56 | { |
57 | printf("MALLOC BARF"); | 57 | printf("MALLOC BARF"); |
58 | printf("MALLOC BARF"); | 58 | printf("MALLOC BARF"); |
diff --git a/apps/plugins/zxbox/zxbox.make b/apps/plugins/zxbox/zxbox.make index 04c85407e1..c209d20ca1 100644 --- a/apps/plugins/zxbox/zxbox.make +++ b/apps/plugins/zxbox/zxbox.make | |||
@@ -30,7 +30,7 @@ else | |||
30 | ROCKS += $(ZXBOX_OBJDIR)/zxbox.rock | 30 | ROCKS += $(ZXBOX_OBJDIR)/zxbox.rock |
31 | endif | 31 | endif |
32 | 32 | ||
33 | ZXBOXFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O3 -funroll-loops | 33 | ZXBOXFLAGS = $(filter-out -O%,$(PLUGINFLAGS)) -O3 -funroll-loops -fno-strict-aliasing |
34 | 34 | ||
35 | $(ZXBOX_OBJDIR)/zxbox.rock: $(ZXBOX_OBJ) | 35 | $(ZXBOX_OBJDIR)/zxbox.rock: $(ZXBOX_OBJ) |
36 | 36 | ||