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

Commit 602bd421 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Fix cert-dcl16-c clang-tidy warnings in libeffects.

Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: I2b4e4ebdf6a4a917313f7f911c7da9d5e63afabe
parent 14c577fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -43,11 +43,11 @@ void Add2_Sat_32x32( const LVM_INT32 *src,
        {
        {
            if(a<0)
            if(a<0)
            {
            {
                c=0x80000000l;
                c=0x80000000L;
            }
            }
            else
            else
            {
            {
                c=0x7FFFFFFFl;
                c=0x7FFFFFFFL;
            }
            }
        }
        }


+4 −4
Original line number Original line Diff line number Diff line
@@ -53,11 +53,11 @@ void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay
        {
        {
            if(a < 0)
            if(a < 0)
            {
            {
                c = 0x80000000l;
                c = 0x80000000L;
            }
            }
            else
            else
            {
            {
                c = 0x7FFFFFFFl;
                c = 0x7FFFFFFFL;
            }
            }
        }
        }
        *dst = c;
        *dst = c;
@@ -72,11 +72,11 @@ void DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, /* Delay
        {
        {
            if(a < 0)
            if(a < 0)
            {
            {
                c = 0x80000000l;
                c = 0x80000000L;
            }
            }
            else
            else
            {
            {
                c = 0x7FFFFFFFl;
                c = 0x7FFFFFFFL;
            }
            }
        }
        }
        delay[AllPassOffset] = c;
        delay[AllPassOffset] = c;
+2 −2
Original line number Original line Diff line number Diff line
@@ -50,11 +50,11 @@ void Mac3s_Sat_32x16( const LVM_INT32 *src,
        {
        {
            if(temp<0)
            if(temp<0)
            {
            {
                dOutVal=0x80000000l;
                dOutVal=0x80000000L;
            }
            }
            else
            else
            {
            {
                dOutVal=0x7FFFFFFFl;
                dOutVal=0x7FFFFFFFL;
            }
            }
        }
        }