From 316781e0e9860d91a5bba81460c90335f8381857 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 22 Mar 2010 13:16:33 +0100 Subject: [PATCH] Add -Wwrite-strings and fix its warnings --- gst/dtmf/gstdtmfsrc.c | 2 +- gst/dtmf/gstrtpdtmfdepay.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index f1244b62be..8831b39cf7 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -147,7 +147,7 @@ typedef struct st_dtmf_key { - char *event_name; + const char *event_name; int event_encoding; float low_frequency; float high_frequency; diff --git a/gst/dtmf/gstrtpdtmfdepay.c b/gst/dtmf/gstrtpdtmfdepay.c index 9f5ae92789..00ea508e5f 100644 --- a/gst/dtmf/gstrtpdtmfdepay.c +++ b/gst/dtmf/gstrtpdtmfdepay.c @@ -117,7 +117,7 @@ typedef struct st_dtmf_key { - char *event_name; + const char *event_name; int event_encoding; float low_frequency; float high_frequency; -- 2.34.1