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);
}
// 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);
template class ArchiveTestCase<wxZipClassFactory>;
#endif
+#if wxUSE_TARSTREAM
+#include "wx/tarstrm.h"
+template class ArchiveTestCase<wxTarClassFactory>;
+#endif
+
#endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS