Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ecba526 authored by Michael Wright's avatar Michael Wright
Browse files

Fix size_t format specifier

Change-Id: I7d4ce5e0c7bb4d9e0cc19edf68f30f6b2b054bc7
parent 6652b983
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1297,7 +1297,7 @@ static void nativeVibrate(JNIEnv* env,

    size_t patternSize = env->GetArrayLength(patternObj);
    if (patternSize > MAX_VIBRATE_PATTERN_SIZE) {
        ALOGI("Skipped requested vibration because the pattern size is %d "
        ALOGI("Skipped requested vibration because the pattern size is %zu "
                "which is more than the maximum supported size of %d.",
                patternSize, MAX_VIBRATE_PATTERN_SIZE);
        return; // limit to reasonable size