forked from osmocom/wireshark
Fix a Qt 5.3 + MSVC 2013 + 64-bit warning.
Change-Id: I60837ce9e9a65f6bf318cab5bbacf9e3f4be5553 Reviewed-on: https://code.wireshark.org/review/11108 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
4695ea20cc
commit
fbef9e630b
|
@ -19,6 +19,12 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
// warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4267)
|
||||
#endif
|
||||
|
||||
#include "supported_protocols_dialog.h"
|
||||
#include "ui_supported_protocols_dialog.h"
|
||||
|
||||
|
@ -34,6 +40,10 @@
|
|||
|
||||
#include "wireshark_application.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
enum { name_col_, filter_col_, type_col_, descr_col_ };
|
||||
|
||||
SupportedProtocolsDialog::SupportedProtocolsDialog(QWidget *parent) :
|
||||
|
|
Loading…
Reference in New Issue