projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add parentheses for && inside || to fix g++ 4.3 warning
[wxWidgets.git]
/
src
/
common
/
tarstrm.cpp
diff --git
a/src/common/tarstrm.cpp
b/src/common/tarstrm.cpp
index b763de5a2e1d7796fbd8effb52b7ab21fc97f8e8..7eb827582e3f499dcd1d4b7ca6d3bedf4f0cde5d 100644
(file)
--- a/
src/common/tarstrm.cpp
+++ b/
src/common/tarstrm.cpp
@@
-945,7
+945,7
@@
bool wxTarInputStream::ReadExtendedHeader(wxTarHeaderRecords*& recs)
size_t recPos, recSize;
bool ok = true;
size_t recPos, recSize;
bool ok = true;
- for (recPos = 0; recPos < len; recPos += recSize) {
+ for (recPos = 0; recPos < len
&& ok
; recPos += recSize) {
char *pRec = buf.data() + recPos;
char *p = pRec;
char *pRec = buf.data() + recPos;
char *p = pRec;