summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGentoo <installgentoo@endianness.com>2020-08-27 13:19:10 +1000
committerGentoo <installgentoo@endianness.com>2020-08-27 13:19:10 +1000
commitc9f3bc45666e80c054e605ba151fd6605760abe3 (patch)
tree8542d0b0966b89401fe27f5d8a7a647b519ca5c7
parentac6fb3cf63e57894f8d762f6c767c713015a8dee (diff)
downloadsleep-sort-c9f3bc45666e80c054e605ba151fd6605760abe3.tar.gz
sleep-sort-c9f3bc45666e80c054e605ba151fd6605760abe3.tar.bz2
sleep-sort-c9f3bc45666e80c054e605ba151fd6605760abe3.zip
small fix
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 5c997e0..1b6b093 100644
--- a/main.c
+++ b/main.c
@@ -10,7 +10,7 @@ int result[NUM_THREADS];
pthread_mutex_t lock;
int counter;
-void *sleepMe(int64_t *p)
+void *sleepMe(int *p)
{
usleep((*p)*500);//*200 will do, but *500 is needed to reliably attain a correct order for numbers only 1 apart