Fixed warnings if compiling loopwave programs with C++.

This commit is contained in:
Philipp Wiesemann 2017-02-19 21:05:42 +01:00
parent 9f8c1d779a
commit dfa8fb3105
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@
#include "SDL.h" #include "SDL.h"
struct static struct
{ {
SDL_AudioSpec spec; SDL_AudioSpec spec;
Uint8 *sound; /* Pointer to wave data */ Uint8 *sound; /* Pointer to wave data */

View File

@ -25,7 +25,7 @@
#include <signal.h> #include <signal.h>
#endif #endif
struct static struct
{ {
SDL_AudioSpec spec; SDL_AudioSpec spec;
Uint8 *sound; /* Pointer to wave data */ Uint8 *sound; /* Pointer to wave data */