csu/libc-tls.c expects TLS_INIT_TP to return a pointer. This silences
the warning.
2006-07-15 Jeff Bailey <jbailey@ubuntu.com>
* sysdeps/hppa/nptl/tls.h: Use NULL instead of 0 to avoid
pointer conversion warning.
--- ports/sysdeps/hppa/nptl/tls.h.old 2006-07-15 10:34:30.000000000 -0400
+++ ports/sysdeps/hppa/nptl/tls.h 2006-07-15 10:34:47.000000000 -0400
@@ -102,7 +102,7 @@
special attention since 'errno' is not yet available and if the
operation can cause a failure 'errno' must not be touched. */
# define TLS_INIT_TP(tcbp, secondcall) \
- ({ __set_cr27(tcbp); 0; })
+ ({ __set_cr27(tcbp); NULL; })
/* Return the address of the dtv for the current thread. */
# define THREAD_DTV() \