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:
parent
8a926bda94
commit
7cd7b6619e
@ -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')
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user