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] Convert integer literals to bool literals.
[simgrid.git]
/
src
/
mc
/
remote
/
RemoteSimulation.cpp
diff --git
a/src/mc/remote/RemoteSimulation.cpp
b/src/mc/remote/RemoteSimulation.cpp
index
34d1f27
..
a293fb5
100644
(file)
--- a/
src/mc/remote/RemoteSimulation.cpp
+++ b/
src/mc/remote/RemoteSimulation.cpp
@@
-424,7
+424,7
@@
std::string RemoteSimulation::read_string(RemotePtr<char> address) const
std::vector<char> res(128);
off_t off = 0;
- while (
1
) {
+ while (
true
) {
ssize_t c = pread(this->memory_file, res.data() + off, res.size() - off, (off_t)address.address() + off);
if (c == -1 && errno == EINTR)
continue;