diff options
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/ascend_scanner.l | 2 | ||||
-rw-r--r-- | wiretap/k12text.l | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/wiretap/ascend_scanner.l b/wiretap/ascend_scanner.l index 8eb37fd08f..e182b243d1 100644 --- a/wiretap/ascend_scanner.l +++ b/wiretap/ascend_scanner.l @@ -78,6 +78,8 @@ #include "ascend.h" #include "file_wrappers.h" +DIAG_OFF(sign-compare) + #define YY_INPUT(buf,result,max_size) { \ ascend_state_t *parser_state = ascendget_extra(yyscanner); \ int c = file_getc(parser_state->fh); \ diff --git a/wiretap/k12text.l b/wiretap/k12text.l index 36bfa3a111..fd4425bd00 100644 --- a/wiretap/k12text.l +++ b/wiretap/k12text.l @@ -114,6 +114,8 @@ #define YY_NO_UNISTD_H #endif +DIAG_OFF(sign-compare) + /* * State kept by the scanner. */ @@ -244,6 +246,8 @@ hdlc HDLC %% +DIAG_ON(sign-compare) + /* Fill in pkthdr */ static gboolean |