projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove warning generated by newer gcc (4.6)
[lttv.git]
/
lttv
/
modules
/
gui
/
statistics
/
statistics.c
diff --git
a/lttv/modules/gui/statistics/statistics.c
b/lttv/modules/gui/statistics/statistics.c
index ce7186299af8d49959282ed74addb7ea00171b0c..b2120d06a5444d66d4fd1135f2e2e07f8c2a8ed3 100644
(file)
--- a/
lttv/modules/gui/statistics/statistics.c
+++ b/
lttv/modules/gui/statistics/statistics.c
@@
-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 = 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,
}
g_hash_table_insert(statistic_viewer_data->statistic_hash,
This page took
0.02268 seconds
and
4
git commands to generate.