diff options
| -rw-r--r-- | src/util/support/ChangeLog | 5 | ||||
| -rw-r--r-- | src/util/support/threads.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/util/support/ChangeLog b/src/util/support/ChangeLog index d460e5443..441cd1f50 100644 --- a/src/util/support/ChangeLog +++ b/src/util/support/ChangeLog @@ -1,3 +1,8 @@ +2004-08-08 Ken Raeburn <raeburn@mit.edu> + + * threads.c (GET_NO_PTHREAD_TSD) [!HAVE_PRAGMA_WEAK_REF]: Macro + result type should be pointer to tsd_block. + 2004-07-31 Ken Raeburn <raeburn@mit.edu> * threads.c (krb5int_thread_support_init): Do finish diff --git a/src/util/support/threads.c b/src/util/support/threads.c index dd9819487..eb27f1cf9 100644 --- a/src/util/support/threads.c +++ b/src/util/support/threads.c @@ -109,7 +109,7 @@ struct tsd_block { static struct tsd_block tsd_if_single; # define GET_NO_PTHREAD_TSD() (&tsd_if_single) #else -# define GET_NO_PTHREAD_TSD() (abort(),0) +# define GET_NO_PTHREAD_TSD() (abort(),(struct tsd_block *)0) #endif static pthread_key_t key; |
