diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:59:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:59:50 +0100 |
| commit | 05654d0e1799746a9df3ccab040c92e0ed825cac (patch) | |
| tree | 59f89a17bf9b9fd9e1056a55653724b616703a2c /src/lib/cross.cc | |
| parent | b63118dafbd7224e9196a40895d9c7cb96504717 (diff) | |
| parent | 6bc83f72f12c8513a1e9e9b6fd880697a73f968f (diff) | |
Merge master.
Diffstat (limited to 'src/lib/cross.cc')
| -rw-r--r-- | src/lib/cross.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc index 53ef5723a..0224e461d 100644 --- 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); - while (1) { + while (true) { 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; } - while (1) { + while (true) { struct mntent* mnt = getmntent (f); if (!mnt) { break; |
