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
[sonar] Fix casts to pointer type without const qualifier.
[simgrid.git]
/
examples
/
deprecated
/
simdag
/
daxload
/
sd_daxload.c
diff --git
a/examples/deprecated/simdag/daxload/sd_daxload.c
b/examples/deprecated/simdag/daxload/sd_daxload.c
index
388b690
..
098c3e8
100644
(file)
--- a/
examples/deprecated/simdag/daxload/sd_daxload.c
+++ b/
examples/deprecated/simdag/daxload/sd_daxload.c
@@
-15,7
+15,7
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this SimDag example");
static int name_compare_hosts(const void *n1, const void *n2)
{
static int name_compare_hosts(const void *n1, const void *n2)
{
- return strcmp(sg_host_get_name(*(
sg_host_t *) n1), sg_host_get_name(*(sg_host_t *)
n2));
+ return strcmp(sg_host_get_name(*(
const sg_host_t*)n1), sg_host_get_name(*(const sg_host_t*)
n2));
}
int main(int argc, char **argv)
}
int main(int argc, char **argv)