-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squelch 50 trivial warnings from Clang.
Debian clang version 14.0.6 warning: flag ' ' results in undefined behavior with 'u' conversion specifier [-Wformat] (sn_interface.c lines 497, 498, 499 and 500) warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (sn_cfgfile.c lines 240, 256, 271, 287, 303, 304, 327, 328, 349, 365, 380, 396, 412, 413, 435 and 436) warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (sniffit.c lines 606, 615, 615, 645, 654, 654, 684, 693, 724, 724, 733, 733, 897, 908, 908, 938, 949, 949, 977, 986, 1014, 1014, 1023, 1023, 1762 and 1931) warning: add explicit braces to avoid dangling else [-Wdangling-else] (sniffit.c line 1806) warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] (sniffit.c line 1874) warning: format specifies type 'unsigned long' but the argument has type '__uint32_t' (aka 'unsigned int') [-Wformat] (sniffit.c lines 1158 and 1160)
- Loading branch information
1 parent
3670ede
commit 0b8fd17
Showing
3 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters