aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_preparse.l
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r--epan/dtd_preparse.l6
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l
index c73d722772..7a8fa5e8d0 100644
--- a/epan/dtd_preparse.l
+++ b/epan/dtd_preparse.l
@@ -84,6 +84,12 @@ static const gchar* location(void);
#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
+
%}
xmlpi_start "<?"
xmlpi_stop "?>"