summaryrefslogtreecommitdiff
path: root/src/lib/cross.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-01 13:43:41 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-01 13:43:41 +0100
commit6bc83f72f12c8513a1e9e9b6fd880697a73f968f (patch)
tree2b7f8b1456aea84dc088b5638524e908585c7e6e /src/lib/cross.cc
parenta6b3b4539ae17ce59f975a4be49278f4ccc736fd (diff)
while (1) -> while (true)
Diffstat (limited to 'src/lib/cross.cc')
-rw-r--r--src/lib/cross.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 70f643913..e30cf6459 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;