23 lines
524 B
Diff
23 lines
524 B
Diff
|
submitted as https://pagure.io/libaio/issue/21
|
||
|
|
||
|
--- libaio-libaio-0.3.113.orig/harness/cases/23.t
|
||
|
+++ libaio-libaio-0.3.113/harness/cases/23.t
|
||
|
@@ -72,7 +72,7 @@ static void fail_errno(const char *forma
|
||
|
static void *thrproc2(void *arg)
|
||
|
{
|
||
|
for (;;) {
|
||
|
- off_t offset = 0;
|
||
|
+ off64_t offset = 0;
|
||
|
|
||
|
pthread_barrier_wait(&barrier);
|
||
|
if (exiting)
|
||
|
@@ -92,7 +92,7 @@ static void *thrproc3(void *arg)
|
||
|
{
|
||
|
for (;;) {
|
||
|
char c;
|
||
|
- off_t offset = 0;
|
||
|
+ off64_t offset = 0;
|
||
|
|
||
|
pthread_barrier_wait(&barrier);
|
||
|
if (exiting)
|