diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2023-08-17 16:33:44 +0000 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@google.com> | 2023-09-12 22:08:25 +0000 |
commit | 6d476be900ba3e3234398012a740c8f5d4161624 (patch) | |
tree | f13c4fafbaca67a053fe884dee4c00209e8410b2 | |
parent | 7d72af94916ad9834e1e03cf4a9140202db99982 (diff) | |
download | wlan-6d476be900ba3e3234398012a740c8f5d4161624.tar.gz |
Don't depend on String8 cast to C string
Bug: 295394788
Test: m checkbuild
Change-Id: I89e8dbd1b2e937c6ed8dc19f77cd014c99bd79f0
-rw-r--r-- | bcmdhd/wifi_hal/rtt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bcmdhd/wifi_hal/rtt.cpp b/bcmdhd/wifi_hal/rtt.cpp index 603caf3..ae9309e 100644 --- a/bcmdhd/wifi_hal/rtt.cpp +++ b/bcmdhd/wifi_hal/rtt.cpp @@ -131,7 +131,7 @@ get_err_info(int status) for (i = 0; i < (int) num_entries; i++) { if (p_entry->id == status) - return p_entry->text; + return p_entry->text.c_str(); p_entry++; /* next entry */ } return "unknown error"; /* not found */ |