Patch by Jorma Karvonen: Fix compiler warnings. Closes #6203, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37184 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
#ifdef HAIKU_MULTI_AUDIO
|
#ifdef HAIKU_MULTI_AUDIO
|
||||||
# include <hmulti_audio.h>
|
# include <hmulti_audio.h>
|
||||||
@@ -29,7 +30,7 @@ const uint32 kSampleRates[] = {
|
|||||||
};
|
};
|
||||||
const struct {
|
const struct {
|
||||||
uint32 type;
|
uint32 type;
|
||||||
char* name;
|
const char* name;
|
||||||
} kFormats[] = {
|
} kFormats[] = {
|
||||||
{B_FMT_8BIT_S, "8bit"},
|
{B_FMT_8BIT_S, "8bit"},
|
||||||
{B_FMT_8BIT_U, "8bit-unsigned"},
|
{B_FMT_8BIT_U, "8bit-unsigned"},
|
||||||
@@ -44,9 +45,9 @@ const struct {
|
|||||||
|
|
||||||
|
|
||||||
struct cmd_entry {
|
struct cmd_entry {
|
||||||
char* name;
|
const char* name;
|
||||||
void (*func)(int argc, char **argv);
|
void (*func)(int argc, char **argv);
|
||||||
char* help;
|
const char* help;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user