projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge master.
[dcpomatic.git]
/
src
/
lib
/
cross.cc
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index 53ef5723ac50232d5e05fb8664a7b8dc3eba766d..0224e461d5fb8193fe82841ecdb34051711b2f6a 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-202,7
+202,7
@@
run_ffprobe (boost::filesystem::path content, boost::filesystem::path out, share
CloseHandle (child_stderr_write);
CloseHandle (child_stderr_write);
- while (
1
) {
+ while (
true
) {
char buffer[512];
DWORD read;
if (!ReadFile(child_stderr_read, buffer, sizeof(buffer), &read, 0) || read == 0) {
char buffer[512];
DWORD read;
if (!ReadFile(child_stderr_read, buffer, sizeof(buffer), &read, 0) || read == 0) {
@@
-247,7
+247,7
@@
mount_info ()
return m;
}
return m;
}
- while (
1
) {
+ while (
true
) {
struct mntent* mnt = getmntent (f);
if (!mnt) {
break;
struct mntent* mnt = getmntent (f);
if (!mnt) {
break;