Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix type conversion in unit test
authorGabriel Corona <gabriel.corona@loria.fr>
Fri, 28 Mar 2014 14:50:58 +0000 (15:50 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Fri, 28 Mar 2014 14:50:58 +0000 (15:50 +0100)
testsuite/mc/dwarf_expression.c

index 7def465..8fa09c5 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;