mirror of
https://github.com/nmap/nmap.git
synced 2025-12-24 08:29:04 +00:00
Make string argument to nmap_hexdump a const to match nbase.
This commit is contained in:
2
utils.cc
2
utils.cc
@@ -185,7 +185,7 @@ int wildtest(char *wild, char *test) {
|
||||
}
|
||||
|
||||
/* Wrapper for nbase function hexdump. */
|
||||
void nmap_hexdump(unsigned char *cp, unsigned int length) {
|
||||
void nmap_hexdump(const unsigned char *cp, unsigned int length) {
|
||||
char *string = NULL;
|
||||
|
||||
string = hexdump((u8*) cp, length);
|
||||
|
||||
Reference in New Issue
Block a user