summaryrefslogtreecommitdiffstats
path: root/libs/utils/ZipUtils.cpp
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2009-07-29 14:25:07 -0700
committerJean-Baptiste Queru <jbq@google.com>2009-07-29 14:25:07 -0700
commit02f54246f55f0ef4263f91062d350876ade5dd78 (patch)
tree11203fd1998828f47f97f07de1114a0f54790a39 /libs/utils/ZipUtils.cpp
parent4d3b5c1e36f2a3746a1c87f8af97d4fe97e8f49e (diff)
downloadframeworks_native-02f54246f55f0ef4263f91062d350876ade5dd78.zip
frameworks_native-02f54246f55f0ef4263f91062d350876ade5dd78.tar.gz
frameworks_native-02f54246f55f0ef4263f91062d350876ade5dd78.tar.bz2
donut snapshot
Diffstat (limited to 'libs/utils/ZipUtils.cpp')
-rw-r--r--libs/utils/ZipUtils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/utils/ZipUtils.cpp b/libs/utils/ZipUtils.cpp
index 5df94cb..9138878 100644
--- a/libs/utils/ZipUtils.cpp
+++ b/libs/utils/ZipUtils.cpp
@@ -210,7 +210,7 @@ bail:
LOGV("+++ reading %ld bytes (%ld left)\n",
getSize, compRemaining);
- int cc = fread(readBuf, getSize, 1, fp);
+ int cc = fread(readBuf, 1, getSize, fp);
if (cc != (int) getSize) {
LOGD("inflate read failed (%d vs %ld)\n",
cc, getSize);
@@ -341,4 +341,3 @@ bail:
return true;
}
-