thread: Fix confusion between NULL and 0.
authorBruno Haible <bruno@clisp.org>
Thu, 9 Jun 2011 10:55:09 +0000 (12:55 +0200)
committerIan Beckwith <ianb@erislabs.net>
Fri, 10 Jun 2011 01:00:32 +0000 (02:00 +0100)
commitc1bf224a86ba4d8edb2034126509adbaa38024de
treea1c9f0750987a7f4cdccf19b39963b6f4949ce3b
parenta378f854de5c7ff331235114f4a2f34854c6d5a5
thread: Fix confusion between NULL and 0.

* lib/glthread/thread.h (gl_thread_self): Use NULL and 0 appropriately.
Reported by Paul Eggert.
(cherry picked from commit 5f0441a0bef4d7a8af4e3ba8b24a948e5cccd71c)
ChangeLog
lib/glthread/thread.h