compilation fixes for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1202,7 +1202,8 @@ void CorruptionTestCase::runTest()
|
||||
wxFileOffset len = in.GetLength();
|
||||
|
||||
// try flipping one byte in the archive
|
||||
for (int pos = 0; pos < len; pos++) {
|
||||
int pos;
|
||||
for (pos = 0; pos < len; pos++) {
|
||||
char n = in[pos];
|
||||
in[pos] = ~n;
|
||||
ExtractArchive(in);
|
||||
@@ -1211,7 +1212,7 @@ void CorruptionTestCase::runTest()
|
||||
}
|
||||
|
||||
// try zeroing one byte in the archive
|
||||
for (int pos = 0; pos < len; pos++) {
|
||||
for (pos = 0; pos < len; pos++) {
|
||||
char n = in[pos];
|
||||
in[pos] = 0;
|
||||
ExtractArchive(in);
|
||||
|
Reference in New Issue
Block a user