diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2007-11-06 13:27:43 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2007-11-06 13:27:43 (GMT) |
commit | cfd308ce432975958a86a2266180613b704ceac7 (patch) | |
tree | d30acceff63d96619fb12470d2c7f354553004da /Source/CPack | |
parent | e8a208384c77455d51c398132ff487df86a66f89 (diff) | |
download | CMake-cfd308ce432975958a86a2266180613b704ceac7.zip CMake-cfd308ce432975958a86a2266180613b704ceac7.tar.gz CMake-cfd308ce432975958a86a2266180613b704ceac7.tar.bz2 |
STYLE: fix line length issue
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackDebGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackDebGenerator.cxx b/Source/CPack/cmCPackDebGenerator.cxx index 0c9eab6..efe543a 100644 --- a/Source/CPack/cmCPackDebGenerator.cxx +++ b/Source/CPack/cmCPackDebGenerator.cxx @@ -347,7 +347,8 @@ static int copy_ar(CF *cfp, off_t size) FILE* from = cfp->rFile; FILE* to = cfp->wFile; while (sz && - (nr = fread(buf, 1, sz < static_cast<off_t>(sizeof(buf)) ? static_cast<size_t>(sz) : sizeof(buf), from )) + (nr = fread(buf, 1, sz < static_cast<off_t>(sizeof(buf)) + ? static_cast<size_t>(sz) : sizeof(buf), from )) > 0) { sz -= nr; for (size_t off = 0; off < nr; nr -= off, off += nw) |