mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Moar const
This commit is contained in:
@@ -700,7 +700,7 @@ char *hexdump(const u8 *cp, u32 length){
|
||||
|
||||
/* This is like strtol or atoi, but it allows digits only. No whitespace, sign,
|
||||
or radix prefix. */
|
||||
long parse_long(const char *s, char **tail)
|
||||
long parse_long(const char *s, const char **tail)
|
||||
{
|
||||
if (!isdigit((int) (unsigned char) *s)) {
|
||||
*tail = (char *) s;
|
||||
|
||||
Reference in New Issue
Block a user