1
0
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:
fyodor
2008-04-09 02:11:20 +00:00
parent fa9bd6be6e
commit 5551c5a311
21 changed files with 144 additions and 140 deletions

View File

@@ -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;