mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Make string argument to nmap_hexdump a const to match nbase.
This commit is contained in:
parent
30110f911e
commit
dcf4aa9f78
2 changed files with 2 additions and 2 deletions
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue