diff options
author | Binbin <binloveplay1314@qq.com> | 2022-04-18 13:34:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-18 08:34:22 +0300 |
commit | fe4b4806b3f39256a82020a1cd2e832ebabc2ef9 (patch) | |
tree | 49a086a7a824a3176fb116da5bef072b8fb487fa /tests/unit/pubsub.tcl | |
parent | 0c4733c8d7c50e0b0dc3373733fddfff3f62dda0 (diff) | |
download | redis-fe4b4806b3f39256a82020a1cd2e832ebabc2ef9.tar.gz |
Fix long long to double implicit conversion warning (#10595)
There is a implicit conversion warning in clang:
```
util.c:574:23: error: implicit conversion from 'long long' to 'double'
changes value from -4611686018427387903 to -4611686018427387904
[-Werror,-Wimplicit-const-int-float-conversion]
if (d < -LLONG_MAX/2 || d > LLONG_MAX/2)
```
introduced in #10486
Co-authored-by: sundb <sundbcn@gmail.com>
Diffstat (limited to 'tests/unit/pubsub.tcl')
0 files changed, 0 insertions, 0 deletions