[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] [PATCH] Small fix for "unsafe comparison" warning in MSVS build
From: |
Vadim Zeitlin |
Subject: |
[lmi] [PATCH] Small fix for "unsafe comparison" warning in MSVS build |
Date: |
Tue, 3 Jul 2018 01:37:24 +0200 |
Hello,
I've just created https://github.com/vadz/lmi/pull/87 which avoids getting
a warning about unsafe comparison of a bool with a double when building
with MSVS. The warning is useful and I'm actually rather surprised that
neither gcc nor clang give it, so I don't want to disable it and I think
the PR above is the best (although not the only one, as explained in the
commit message) way to fix it.
Please let me know what do you think,
VZ
- [lmi] [PATCH] Small fix for "unsafe comparison" warning in MSVS build,
Vadim Zeitlin <=