summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/util/CustomDeflate.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/junit/com/jogamp/common/util/CustomDeflate.java')
-rw-r--r--src/junit/com/jogamp/common/util/CustomDeflate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/junit/com/jogamp/common/util/CustomDeflate.java b/src/junit/com/jogamp/common/util/CustomDeflate.java
index 876c6e4..d4682e8 100644
--- a/src/junit/com/jogamp/common/util/CustomDeflate.java
+++ b/src/junit/com/jogamp/common/util/CustomDeflate.java
@@ -71,7 +71,7 @@ public class CustomDeflate {
throw new IOException("Got "+numBytes+" bytes != expected "+inSize);
}
out = new FileOutputStream(fileOut);
- CustomCompress.deflateToStream(input, out);
+ CustomCompress.deflateToStream(input, 0, inSize, 9, out);
} catch (final IOException ioe) {
ioe.printStackTrace();
} finally {