Add -Wwrite-strings
authorBenjamin Otte <otte@redhat.com>
Mon, 22 Mar 2010 12:16:33 +0000 (13:16 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 22 Mar 2010 12:16:33 +0000 (13:16 +0100)
and fix its warnings

gst/dtmf/gstdtmfsrc.c
gst/dtmf/gstrtpdtmfdepay.c

index f1244b62beb9ba8b347b0c03de31759274301ef1..8831b39cf7f4c87550fb174bd19867681c3dd6c2 100644 (file)
 
 typedef struct st_dtmf_key
 {
-  char *event_name;
+  const char *event_name;
   int event_encoding;
   float low_frequency;
   float high_frequency;
index 9f5ae92789726131e3846bcc5c5f251f2121e3e7..00ea508e5f4d86a60981d4cb5f286aa774c3ee15 100644 (file)
 
 typedef struct st_dtmf_key
 {
-  char *event_name;
+  const char *event_name;
   int event_encoding;
   float low_frequency;
   float high_frequency;