mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
o Fixed a bunch of code to avoid compilation warning messages (at
least on some Linux machines) [Andrew J. Bennieston]
This commit is contained in:
2
utils.cc
2
utils.cc
@@ -704,7 +704,7 @@ void bintohexstr(char *buf, int buflen, char *src, int srclen){
|
||||
bp += Snprintf(buf+bp, buflen-bp,"\n");
|
||||
}
|
||||
|
||||
static inline char* STRAPP(char *fmt, ...) {
|
||||
static inline char* STRAPP(const char *fmt, ...) {
|
||||
static char buf[256];
|
||||
static int bp;
|
||||
int left = (int)sizeof(buf)-bp;
|
||||
|
||||
Reference in New Issue
Block a user