Update wrapper.c
This commit is contained in:
@@ -389,8 +389,8 @@ static void *run(void *arg)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (strcmp(crypt_ra(key, hash, &data, &size), hash)) {
|
if (strcmp(crypt_ra(key, hash, &data, &size), hash)) {
|
||||||
printf("%d: FAILED (crypt_ra/%d/%lu)\n",
|
printf("%d: FAILED (crypt_ra/%d/%lu)\n",
|
||||||
(int)((char *)arg - (char *)0), i, count);
|
(int)(intptr_t)arg, i, count);
|
||||||
free(data);
|
free(data);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@@ -398,7 +398,7 @@ static void *run(void *arg)
|
|||||||
} while (running);
|
} while (running);
|
||||||
|
|
||||||
free(data);
|
free(data);
|
||||||
return count + (char *)0;
|
return (void *)(intptr_t)count;
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
|
Reference in New Issue
Block a user