tdspeed: Use "INT64_MAX" instead of "~(1ll << 63)" to get the maximum int64_t value.
Change-Id: I0830b3276eecb52e0f52599126fd23f95d0742aa
This commit is contained in:
parent
e4a5762147
commit
b17bdb9349
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ static int tdspeed_apply(int32_t *buf_out[2], int32_t *buf_in[2],
|
|||
int const INC1 = 8;
|
||||
int const INC2 = 32;
|
||||
|
||||
int64_t min_delta = ~(1ll << 63); /* most positive */
|
||||
int64_t min_delta = INT64_MAX; /* most positive */
|
||||
int shift = 0;
|
||||
|
||||
/* Power of 2 of a 28bit number requires 56bits, can accumulate
|
||||
|
|
Loading…
Reference in a new issue