From 473e9afea516f50db353cd9ecb707531e1263255 Mon Sep 17 00:00:00 2001 From: dmiller Date: Thu, 5 Jan 2023 23:45:04 +0000 Subject: [PATCH] Fix VS2019 warning regarding signature of operator!= --- services.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services.cc b/services.cc index d96c4ef19..9ee44bc18 100644 --- a/services.cc +++ b/services.cc @@ -112,7 +112,7 @@ static int nmap_services_init() { char filename[512]; FILE *fp; - char servicename[128], proto[16] = { 0 }; + char servicename[128] = { 0 }, proto[16] = { 0 }; u16 portno; const char *p; char line[1024]; @@ -345,9 +345,9 @@ class C_array_iterator: public std::iterator