From ad9dc5158e78a3bb92a05a6a7c74e9137eb7f1b4 Mon Sep 17 00:00:00 2001
From: Chris Manton <cmanton@google.com>
Date: Tue, 5 Apr 2022 15:02:11 -0700
Subject: [PATCH] Use proper num_uuids the size of a vector

Bug: 227293046
Tag: #refactor
Test: gd/cert/run

Change-Id: I8529b4cb63db58a5d4bc78e0216f36bcee02fad5
---
 system/bta/include/bta_api.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/bta/include/bta_api.h b/system/bta/include/bta_api.h
index b3049c80ac5..b98c8e4b5aa 100644
--- a/system/bta/include/bta_api.h
+++ b/system/bta/include/bta_api.h
@@ -456,7 +456,7 @@ typedef struct {
   BD_NAME bd_name;             /* Name of peer device. */
   tBTA_SERVICE_MASK services;  /* Services found on peer device. */
   tBT_DEVICE_TYPE device_type; /* device type in case it is BLE device */
-  uint32_t num_uuids;
+  size_t num_uuids;
   bluetooth::Uuid* p_uuid_list;
   tBTA_STATUS result;
 } tBTA_DM_DISC_RES;
-- 
GitLab