From 62481c0f1cbe9e968b1d48a828d1180a5e3a53bb Mon Sep 17 00:00:00 2001 From: chiteroman Date: Fri, 28 Feb 2025 19:10:36 +0100 Subject: [PATCH] Fix warnings --- app/src/main/cpp/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/cpp/main.cpp b/app/src/main/cpp/main.cpp index 7e8743c..ab68635 100644 --- a/app/src/main/cpp/main.cpp +++ b/app/src/main/cpp/main.cpp @@ -113,9 +113,9 @@ static bool doHook() { class PlayIntegrityFix : public zygisk::ModuleBase { public: - void onLoad(zygisk::Api *api, JNIEnv *env) override { - this->api = api; - this->env = env; + void onLoad(zygisk::Api *_api, JNIEnv *_env) override { + this->api = _api; + this->env = _env; } void preAppSpecialize(zygisk::AppSpecializeArgs *args) override { @@ -199,8 +199,8 @@ public: close(fd); - LOGD("Dex file size: %ld", dexSize); - LOGD("Json file size: %ld", jsonSize); + LOGD("Dex file size: %zu", dexSize); + LOGD("Json file size: %zu", jsonSize); parseJSON();