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

Commit 6f6bb610 authored by Apoorv Raghuvanshi's avatar Apoorv Raghuvanshi
Browse files

hal: Fix 64 bit compilation error for usbaudio

- Fix 64 bit compilation error int to pointer
  seen in usbaudio file

Change-Id: I7b7a3cb097c0c645514fd4de36146ccc49c24896
parent 56087531
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ static int usb_get_numof_rates(char *rates_str)

    if (next_sr_string == NULL) {
        ALOGE("%s: get_numof_rates: could not find rates string", __func__);
        return (int)NULL;
        return 0;
    }

    for (i = 1; next_sr_string != NULL; i++) {