diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2017-08-18 20:11:47 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2017-09-19 10:06:07 +0000 |
commit | 8615e78630e8deace183d150e2c1e5fc60d561ba (patch) | |
tree | abf76c1f31bb8e593c9c38c20615a302c9b197fe /wiretap | |
parent | dd5875c487dea7e75b3653485d153c0dab909699 (diff) |
Disable flex-generated [-Wsign-compare] warnings
Change-Id: Iace0462e6bb50573f3e4603f7a19e4b7ee1f9733
Reviewed-on: https://code.wireshark.org/review/23541
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
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 |