Add -Wwrite-strings

and fix its warnings
This commit is contained in:
Benjamin Otte 2010-03-22 13:16:33 +01:00
parent d79780dd62
commit 316781e0e9
2 changed files with 2 additions and 2 deletions

View file

@ -147,7 +147,7 @@
typedef struct st_dtmf_key typedef struct st_dtmf_key
{ {
char *event_name; const char *event_name;
int event_encoding; int event_encoding;
float low_frequency; float low_frequency;
float high_frequency; float high_frequency;

View file

@ -117,7 +117,7 @@
typedef struct st_dtmf_key typedef struct st_dtmf_key
{ {
char *event_name; const char *event_name;
int event_encoding; int event_encoding;
float low_frequency; float low_frequency;
float high_frequency; float high_frequency;