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
Fix return type.
[simgrid.git]
/
teshsuite
/
smpi
/
macro-partial-shared
/
macro-partial-shared.c
diff --git
a/teshsuite/smpi/macro-partial-shared/macro-partial-shared.c
b/teshsuite/smpi/macro-partial-shared/macro-partial-shared.c
index
1a255df
..
e378b5a
100644
(file)
--- a/
teshsuite/smpi/macro-partial-shared/macro-partial-shared.c
+++ b/
teshsuite/smpi/macro-partial-shared/macro-partial-shared.c
@@
-16,7
+16,7
@@
static void set(uint8_t *buf, size_t start, size_t stop, uint8_t value) {
}
// Return the number of times that an element is equal to (i+value)%256 between buf[start] and buf[stop-1].
}
// Return the number of times that an element is equal to (i+value)%256 between buf[start] and buf[stop-1].
-static
in
t count_all(const uint8_t* buf, size_t start, size_t stop, uint8_t value)
+static
size_
t count_all(const uint8_t* buf, size_t start, size_t stop, uint8_t value)
{
size_t occ = 0;
for(size_t i = start ; i < stop ; i++) {
{
size_t occ = 0;
for(size_t i = start ; i < stop ; i++) {