diff options
Diffstat (limited to 'text2pcap-scanner.l')
-rw-r--r-- | text2pcap-scanner.l | 6 |
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] |