aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap-scanner.l
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-25 18:26:54 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-04-25 18:26:54 +0000
commita46daa3dd6f224235f38bca5ed5006e439c285c5 (patch)
treecad815d04126a4dbdc903d393c331b382a1519a7 /text2pcap-scanner.l
parent75c64234402e5e4de8ecc7b3bb20d7ad35a9f2ac (diff)
Bug 2493: Fix (Part 3 of 3):
To prevent Windows compiler errors when using flex 2.5.35. Ignore 'signed /unsigned mismatch' warnings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25174 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'text2pcap-scanner.l')
-rw-r--r--text2pcap-scanner.l6
1 files changed, 6 insertions, 0 deletions
diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l
index 90efadf4cf..ed81b23c8f 100644
--- a/text2pcap-scanner.l
+++ b/text2pcap-scanner.l
@@ -49,6 +49,12 @@
#define YY_NO_UNISTD_H
#endif
+#ifdef _WIN32
+/* disable Windows VC compiler warning "signed/unsigned mismatch" associated */
+/* with YY_INPUT code generated by flex versions such as 2.5.35. */
+#pragma warning (disable:4018)
+#endif
+
%}
hexdigit [0-9A-Fa-f]