X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/362246530b96737425628465f584af5a4a69f2fc..ee045f4f1937caf0bfa24c09381ccea281300796:/testsuite/mc/dwarf_expression.c diff --git a/testsuite/mc/dwarf_expression.c b/testsuite/mc/dwarf_expression.c index 7def465f70..905f88aee8 100644 --- a/testsuite/mc/dwarf_expression.c +++ b/testsuite/mc/dwarf_expression.c @@ -1,3 +1,9 @@ +/* Copyright (c) 2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifdef NDEBUG #undef NDEBUG #endif @@ -96,7 +102,7 @@ void test_deref(mc_expression_state_t state) { Dwarf_Op ops[60]; ops[0].atom = DW_OP_const8u; - ops[0].number = (Dwarf_Word) &foo; + ops[0].number = (uintptr_t) &foo; ops[1].atom = DW_OP_deref; state->stack_size = 0;