diff options
Diffstat (limited to 'epan/dfilter/scanner.l')
-rw-r--r-- | epan/dfilter/scanner.l | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dfilter/scanner.l b/epan/dfilter/scanner.l index efcf4ce395..0855e7f29f 100644 --- a/epan/dfilter/scanner.l +++ b/epan/dfilter/scanner.l @@ -51,6 +51,12 @@ #include "dfunctions.h" #include "scanner_lex.h" +#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 + /* * GLib 1.2[.x] doesn't define G_MAXINT32 or G_MININT32; if they're not * defined, we define them as the maximum and minimum 32-bit signed |