0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 04:02:15 +02:00

Fix misc wrong types

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
This commit is contained in:
Frank Lichtenheld 2023-08-23 18:16:02 +02:00 committed by David Sommerseth
parent 8a926bda94
commit 7cd7b6619e
No known key found for this signature in database
GPG Key ID: 86CF944C9671FDF2
2 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ inline int getopt_long(int nargc,
char *current_argv = nargv[optind++] + 2; char *current_argv = nargv[optind++] + 2;
char *has_equal; char *has_equal;
int i; int i;
int current_argv_len; size_t current_argv_len;
int match = -1; int match = -1;
if (*current_argv == '\0') if (*current_argv == '\0')

View File

@ -121,7 +121,7 @@ void perf()
{ {
const MyObj seven(7); const MyObj seven(7);
// const double pi = 3.14159265; // const double pi = 3.14159265;
long count = 0; size_t count = 0;
const std::string weather = "partly cloudy"; const std::string weather = "partly cloudy";
for (long i = 0; i < 1000000; ++i) for (long i = 0; i < 1000000; ++i)
{ {
@ -134,4 +134,4 @@ void perf()
count += str.length(); count += str.length();
} }
std::cout << count << std::endl; std::cout << count << std::endl;
} }