patch-threading_pthread_c 409 B

12345678910111213
  1. $OpenBSD: patch-threading_pthread_c,v 1.1 2014/09/23 13:44:04 dcoppa Exp $
  2. --- threading_pthread.c.orig Tue Sep 23 15:07:41 2014
  3. +++ threading_pthread.c Tue Sep 23 15:09:45 2014
  4. @@ -54,7 +54,7 @@ thread_start (void (*fn)(void *ctx), void *ctx) {
  5. fprintf (stderr, "pthread_attr_destroy failed: %s\n", strerror (s));
  6. return 0;
  7. }
  8. - return tid;
  9. + return (intptr_t)tid;
  10. }
  11. intptr_t