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:
Stephan Aßmus
2010-06-21 10:03:15 +00:00
parent eb161bde33
commit 14981b2126
@@ -9,6 +9,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <math.h>
#ifdef HAIKU_MULTI_AUDIO
# include <hmulti_audio.h>
@@ -29,7 +30,7 @@ const uint32 kSampleRates[] = {
};
const struct {
uint32 type;
char* name;
const char* name;
} kFormats[] = {
{B_FMT_8BIT_S, "8bit"},
{B_FMT_8BIT_U, "8bit-unsigned"},
@@ -44,9 +45,9 @@ const struct {
struct cmd_entry {
char* name;
void (*func)(int argc, char **argv);
char* help;
const char* name;
void (*func)(int argc, char **argv);
const char* help;
};