Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1709fde

Browse files
committed
Improve prototype casting for thread calls.
1 parent8ac3510 commit1709fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/interfaces/ecpg/test/test_thread.pgc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ EXEC SQL END DECLARE SECTION;
4848
EXEC SQL AT test0 COMMIT WORK;
4949
EXEC SQL DISCONNECT test0;
5050

51-
pthread_create(&thread1, NULL, (void *) ins1, NULL);
52-
pthread_create(&thread2, NULL, (void *) ins2, NULL);
51+
pthread_create(&thread1, NULL, (void * (*)(void *)) ins1, NULL);
52+
pthread_create(&thread2, NULL, (void * (*)(void *)) ins2, NULL);
5353
pthread_join(thread1, NULL);
5454
pthread_join(thread2, NULL);
5555

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp