URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f8c870eee23915aee30bfabe20e2f14a95cad560
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
f8c870e by Guy Harris (guy@xxxxxxxxxxxx):
Throw in a cast to squelch a compiler warning.
MSVC warns that comparing a gboolean (which is a typedef for int) to a
bool is unsafe; convert the gboolean to a bool (the post-C++11 draft C++
standard I have says that the conversion from integral to bool does
pretty much what you'd expect - zero goes to false, non-zero goes to
true - and is exactly what we want).
Change-Id: Ia7d7b62baf87ca3a29da5140f68c2c5b38b2d6de
Reviewed-on: https://code.wireshark.org/review/20787
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 25dc3ee Squelch 64-to-32-bit narrowing warnings.
adds f8c870e Throw in a cast to squelch a compiler warning.
Summary of changes:
ui/qt/capture_interfaces_dialog.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)