From ccc4aca728e17665f091a14eb67aae82fe7549f9 Mon Sep 17 00:00:00 2001 From: unzner Date: Tue, 30 Oct 2012 11:09:59 +0000 Subject: [PATCH] Forgot to cast the type git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1866 8c4709b5-6ec9-48aa-a5cd-a96041d1645a --- src/experiments/l4-sys/experiment.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/experiments/l4-sys/experiment.cc b/src/experiments/l4-sys/experiment.cc index 08ccf1b9..df9edb44 100644 --- a/src/experiments/l4-sys/experiment.cc +++ b/src/experiments/l4-sys/experiment.cc @@ -202,7 +202,8 @@ bool L4SysExperiment::run() { // now check if we want to add the instruction for fault injection if (instrFilter != NULL && - instrFilter->isValidInstr(curr_addr, calculateInstructionAddress())) { + instrFilter->isValidInstr(curr_addr, + reinterpret_cast(calculateInstructionAddress()))) { accepted++; TraceInstr new_instr; new_instr.trigger_addr = curr_addr;