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

Commit c664d9f3 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal: fix usage of call by reference pointer"

parents 43f8b500 f7e248f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -11676,8 +11676,8 @@ int platform_get_controller_stream_from_params(struct str_parms *parms,
    str_parms_get_int(parms, "stream", stream);
    if (*controller < 0 || *controller >= MAX_CONTROLLERS ||
            *stream < 0 || *stream >= MAX_STREAMS_PER_CONTROLLER) {
        controller = 0;
        stream = 0;
        *controller = 0;
        *stream = 0;
        return -1;
    }
    return 0;