1
0
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:
dmiller
2020-01-13 17:14:44 +00:00
parent 30110f911e
commit dcf4aa9f78
2 changed files with 2 additions and 2 deletions

View File

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