Merge "Looper: Fixed compile error when enabling DEBUG_CALLBACKS" into main

This commit is contained in:
Steven Moreland 2023-11-30 02:06:43 +00:00 committed by Gerrit Code Review
commit e9c24760d3
2 changed files with 2 additions and 1 deletions

View file

@ -203,6 +203,7 @@ cc_library {
defaults: ["libutils_impl_defaults"],
cflags: [
"-DDEBUG_CALLBACKS=1",
"-DDEBUG_POLL_AND_WAKE=1",
"-DDEBUG_REFS=1",
"-DDEBUG_TOKENIZER=1",

View file

@ -534,7 +534,7 @@ int Looper::removeFd(int fd) {
int Looper::removeSequenceNumberLocked(SequenceNumber seq) {
#if DEBUG_CALLBACKS
ALOGD("%p ~ removeFd - fd=%d, seq=%u", this, fd, seq);
ALOGD("%p ~ removeFd - seq=%" PRIu64, this, seq);
#endif
const auto& request_it = mRequests.find(seq);