X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Fstatistics%2Fstatistics.c;h=5c900b7814161b8a16e7a0813c242bf4dfed1975;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=ce7186299af8d49959282ed74addb7ea00171b0c;hpb=1e3594a344fc57ed19aed95efa9e27bedb287df4;p=lttv.git diff --git a/lttv/modules/gui/statistics/statistics.c b/lttv/modules/gui/statistics/statistics.c index ce718629..5c900b78 100644 --- a/lttv/modules/gui/statistics/statistics.c +++ b/lttv/modules/gui/statistics/statistics.c @@ -12,8 +12,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H @@ -466,7 +466,9 @@ void show_traceset_stats(StatisticViewerData * statistic_viewer_data) value = lttv_attribute_add(tscs->stats, g_quark_from_static_string("WARNING: Live traceset"), LTTV_STRING); - *(value.v_string) = live_msg; + /* TODO ybrosseau 2012-03-15: add cast to silent discard const + warning... find a better way */ + *(value.v_string) = (char *)live_msg; } g_hash_table_insert(statistic_viewer_data->statistic_hash,