changeset 29742 | b73f38796859 |
parent 28771 | 2885fb2e1002 |
child 30467 | 075f4f160f19 |
--- a/jdk/src/java.base/macosx/native/libjli/java_md_macosx.c Thu Apr 02 14:25:27 2015 -0400 +++ b/jdk/src/java.base/macosx/native/libjli/java_md_macosx.c Thu Apr 02 11:54:33 2015 -0700 @@ -852,7 +852,7 @@ if (pthread_create(&tid, &attr, (void *(*)(void*))continuation, (void*)args) == 0) { void * tmp; pthread_join(tid, &tmp); - rslt = (int)tmp; + rslt = (int)(intptr_t)tmp; } else { /* * Continue execution in current thread if for some reason (e.g. out of