A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyright headers.
[simgrid.git]
/
testsuite
/
mc
/
dwarf_expression.c
diff --git
a/testsuite/mc/dwarf_expression.c
b/testsuite/mc/dwarf_expression.c
index
7def465
..
905f88a
100644
(file)
--- 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
#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;
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;
ops[1].atom = DW_OP_deref;
state->stack_size = 0;