aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracefile-tfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tracefile-tfile.c')
-rw-r--r--gdb/tracefile-tfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tracefile-tfile.c b/gdb/tracefile-tfile.c
index 68ff5b1..3ccd281 100644
--- a/gdb/tracefile-tfile.c
+++ b/gdb/tracefile-tfile.c
@@ -713,7 +713,7 @@ typedef int (*walk_blocks_callback_func) (char blocktype, void *data);
static int
match_blocktype (char blocktype, void *data)
{
- char *wantedp = data;
+ char *wantedp = (char *) data;
if (*wantedp == blocktype)
return 1;
@@ -966,7 +966,7 @@ tfile_get_trace_state_variable_value (struct target_ops *self,
static int
build_traceframe_info (char blocktype, void *data)
{
- struct traceframe_info *info = data;
+ struct traceframe_info *info = (struct traceframe_info *) data;
switch (blocktype)
{