diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-09-05 01:53:41 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-09-05 01:53:41 +0000 |
commit | 1709fde56a75f424453ca62fb356e906e5ad9d9c (patch) | |
tree | b58c7b10af7e00452f3c05465cc3b1fa62d2b780 | |
parent | 8ac3510a4c76749ba9c4b55d04b15724b82e9af3 (diff) | |
download | postgresql-1709fde56a75f424453ca62fb356e906e5ad9d9c.tar.gz postgresql-1709fde56a75f424453ca62fb356e906e5ad9d9c.zip |
Improve prototype casting for thread calls.
-rw-r--r-- | src/interfaces/ecpg/test/test_thread.pgc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/test_thread.pgc b/src/interfaces/ecpg/test/test_thread.pgc index 8d9eac2926a..44769f68125 100644 --- a/src/interfaces/ecpg/test/test_thread.pgc +++ b/src/interfaces/ecpg/test/test_thread.pgc @@ -48,8 +48,8 @@ EXEC SQL END DECLARE SECTION; EXEC SQL AT test0 COMMIT WORK; EXEC SQL DISCONNECT test0; - pthread_create(&thread1, NULL, (void *) ins1, NULL); - pthread_create(&thread2, NULL, (void *) ins2, NULL); + pthread_create(&thread1, NULL, (void * (*)(void *)) ins1, NULL); + pthread_create(&thread2, NULL, (void * (*)(void *)) ins2, NULL); pthread_join(thread1, NULL); pthread_join(thread2, NULL); |