mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-17 15:51:25 +00:00
Fixed warnings if compiling loopwave programs with C++.
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user