Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix type conversion in unit test
[simgrid.git] / testsuite / mc / dwarf_expression.c
index 7def465f70e602309720e7d0657a9495c1675c17..8fa09c5f2e4abb2d4c08eed3d71cc4755c429268 100644 (file)
@@ -96,7 +96,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;