mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-19 19:52:15 +02:00
Fix misc wrong types
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
This commit is contained in:
parent
8a926bda94
commit
7cd7b6619e
@ -176,7 +176,7 @@ inline int getopt_long(int nargc,
|
||||
char *current_argv = nargv[optind++] + 2;
|
||||
char *has_equal;
|
||||
int i;
|
||||
int current_argv_len;
|
||||
size_t current_argv_len;
|
||||
int match = -1;
|
||||
|
||||
if (*current_argv == '\0')
|
||||
|
@ -121,7 +121,7 @@ void perf()
|
||||
{
|
||||
const MyObj seven(7);
|
||||
// const double pi = 3.14159265;
|
||||
long count = 0;
|
||||
size_t count = 0;
|
||||
const std::string weather = "partly cloudy";
|
||||
for (long i = 0; i < 1000000; ++i)
|
||||
{
|
||||
@ -134,4 +134,4 @@ void perf()
|
||||
count += str.length();
|
||||
}
|
||||
std::cout << count << std::endl;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user