|
From: | Avinash Sonawane (@rootkea) |
Subject: | wget2 | warning: implicit conversion from 'long long' to 'double' changes value (#596) |
Date: | Sat, 23 Apr 2022 09:18:54 +0000 |
Avinash Sonawane created an issue: https://gitlab.com/gnuwget/wget2/-/issues/596 Hello! With Clang 13.0.0-2 and `CFLAGS` `LDFLAGS` empty, I get this warning: ``` $ ./configure --with-ssl=openssl ... $ make -j1 V=1 ... options.c:355:36: warning: implicit conversion from 'long long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] *((long long *)opt->var) = num > LLONG_MAX ? LLONG_MAX : (long long) num; ~ ^~~~~~~~~ /usr/lib/llvm-13/lib/clang/13.0.0/include/limits.h:82:20: note: expanded from macro 'LLONG_MAX' #define LLONG_MAX __LONG_LONG_MAX__ ^~~~~~~~~~~~~~~~~ <built-in>:40:27: note: expanded from here #define __LONG_LONG_MAX__ 9223372036854775807LL ^~~~~~~~~~~~~~~~~~~~~ 1 warning generated. ... $ ``` -- Reply to this email directly or view it on GitLab: https://gitlab.com/gnuwget/wget2/-/issues/596 You're receiving this email because of your account on gitlab.com.
[Prev in Thread] | Current Thread | [Next in Thread] |