From 3b23c4442aa0adad46b23652b88130f7ad432b7a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 15 Sep 2014 16:59:51 +0200 Subject: [PATCH] (apk-extract.c) Style/indent nits --- android/phoenix/jni/apk-extract/apk-extract.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/android/phoenix/jni/apk-extract/apk-extract.c b/android/phoenix/jni/apk-extract/apk-extract.c index 261cd92617..9cdc86483f 100644 --- a/android/phoenix/jni/apk-extract/apk-extract.c +++ b/android/phoenix/jni/apk-extract/apk-extract.c @@ -19,7 +19,8 @@ struct userdata const char *dest; }; -static bool zlib_cb(const char *name, const uint8_t *cdata, unsigned cmode, uint32_t csize, uint32_t size, +static bool zlib_cb(const char *name, const uint8_t *cdata, + unsigned cmode, uint32_t csize, uint32_t size, uint32_t crc32, void *userdata) { char path[PATH_MAX]; @@ -46,7 +47,7 @@ static bool zlib_cb(const char *name, const uint8_t *cdata, unsigned cmode, uint switch (cmode) { - case 0: // Uncompressed + case 0: /* Uncompressed */ if (!write_file(path, cdata, size)) { RARCH_ERR("Failed to write file: %s.\n", path); @@ -54,7 +55,7 @@ static bool zlib_cb(const char *name, const uint8_t *cdata, unsigned cmode, uint } break; - case 8: // Deflate + case 8: /* Deflate */ if (!zlib_inflate_data_to_file(path, cdata, csize, size, crc32)) { RARCH_ERR("Failed to deflate to: %s.\n", path);