diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-03 15:59:13 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-10-03 15:59:13 +0000 |
| commit | 6cbb2353cbd4869fcd1581742da8db809dd57d40 (patch) | |
| tree | 23f76a1d523f24bc09d148acc7cec51058241d3e /src/interfaces/ecpg/test/expected/thread-thread_implicit.c | |
| parent | 2b0e46eef008c53b87da62d1f5bce7718748346d (diff) | |
Tweak recently-added tests to suppress scary-looking warnings on 64-bit
machines about casts between pointers and integers of different sizes.
While they're harmless, we shouldn't expect users to have to go through
and figure that out for themselves.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/thread-thread_implicit.c')
| -rw-r--r-- | src/interfaces/ecpg/test/expected/thread-thread_implicit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c index 697a104f319..cdd90394d72 100644 --- a/src/interfaces/ecpg/test/expected/thread-thread_implicit.c +++ b/src/interfaces/ecpg/test/expected/thread-thread_implicit.c @@ -97,7 +97,7 @@ int main(int argc, char *argv[]) for( n = 0; n < nthreads; n++ ) { #ifndef WIN32 - pthread_create(&threads[n], NULL, test_thread, (void *) (n + 1)); + pthread_create(&threads[n], NULL, test_thread, (void *) (long) (n + 1)); #else threads[n] = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) test_thread, (void *) (n+1), 0, NULL); #endif |
