fixed another 64bit compiler warning
This commit is contained in:
parent
aab814c793
commit
1694e82c7c
|
@ -34,7 +34,7 @@ static void* testing(void *thread)
|
||||||
{
|
{
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "%d-%d@strongswan.org", (int)thread, i);
|
snprintf(buf, sizeof(buf), "%d-%d@strongswan.org", (uintptr_t)thread, i);
|
||||||
id[i] = identification_create_from_string(buf);
|
id[i] = identification_create_from_string(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ static void* testing(void *thread)
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
bool test_pool()
|
bool test_pool()
|
||||||
{
|
{
|
||||||
int i;
|
uintptr_t i;
|
||||||
void *res;
|
void *res;
|
||||||
pthread_t thread[THREADS];
|
pthread_t thread[THREADS];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue