Skip to content

Commit

Permalink
stagefright amrwb: Change a C++ style cast into a C style cast
Browse files Browse the repository at this point in the history
This fixes compilation as C - while the source files are named
.cpp, they actually are compileable as pure C (except for this
cast).

This was committed on the master branch of the opencore
repository in commit ae27d9b2ef68c4e6fc383a8cab93d6baa235ff6b,
based on AOSP contribution 10014.

Change-Id: I4f533313be041ad3e0a03ffc5f4207480894ddd1
  • Loading branch information
mstorsjo committed Feb 24, 2012
1 parent 6a300a5 commit ab01498
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,6 @@ int16 AmrWbInterpol( /* return result of interpolation */

L_sum = shl_int32(L_sum, 2); /* saturation can occur here */

return ((int16(L_sum >> 16)));
return ((int16)(L_sum >> 16));
}

0 comments on commit ab01498

Please sign in to comment.