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

Commit c5f68989 authored by George Burgess IV's avatar George Burgess IV
Browse files

AVRCP: Fix a format string complaint

llu is `unsigned long long`, but we're using a uint64_t (`unsigned
long`) here.

Bug: 64487164
Test: mma. Sign conversion warning no longer appears.
Change-Id: I30d12796c830deb16d4e0f1aa3953b6ed62d8175
parent 14e18cdd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
#include "hardware/bt_rc.h"
#include "utils/Log.h"

#include <inttypes.h>
#include <string.h>

namespace android {
@@ -812,7 +813,7 @@ static jboolean registerNotificationRspTrackChangeNative(JNIEnv* env,
    uid = uid + (trk[uid_idx] << (BTRC_UID_SIZE - 1 - uid_idx));
  }

  ALOGV("%s: Sending track change notification: %d -> %llu", __func__, type,
  ALOGV("%s: Sending track change notification: %d -> %" PRIu64, __func__, type,
        uid);

  bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp(