diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:43:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:43:41 +0100 |
| commit | 6bc83f72f12c8513a1e9e9b6fd880697a73f968f (patch) | |
| tree | 2b7f8b1456aea84dc088b5638524e908585c7e6e /src/lib/file_group.cc | |
| parent | a6b3b4539ae17ce59f975a4be49278f4ccc736fd (diff) | |
while (1) -> while (true)
Diffstat (limited to 'src/lib/file_group.cc')
| -rw-r--r-- | src/lib/file_group.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index 9d042554c..048f69233 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -142,7 +142,7 @@ int FileGroup::read (uint8_t* buffer, int amount) const { int read = 0; - while (1) { + while (true) { int const this_time = fread (buffer + read, 1, amount - read, _current_file); read += this_time; if (read == amount) { |
