Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-08-16 23:24:19 +0400
committerChristopher Faylor <me@cgf.cx>2012-08-16 23:24:19 +0400
commit00caa48b917d9c300c70403b3a9ea665a8f67d26 (patch)
treeed2f7973a5c25ff49542b98396bc5f8e105f65a7 /winsup/cygwin/cygtls.h
parentd01efdbe6ef73e31eca061c031bab84c614a3fe4 (diff)
* cygtls.cc (_cygtls::operator HANDLE): Reverse '?' test stupidity.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r--winsup/cygwin/cygtls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h
index 98b63aeb1..d009da169 100644
--- a/winsup/cygwin/cygtls.h
+++ b/winsup/cygwin/cygtls.h
@@ -226,7 +226,7 @@ public:
void signal_debugger (int) __attribute__ ((regparm(2)));
#ifdef CYGTLS_HANDLE
- operator HANDLE () const {return tid ? NULL : tid->win32_obj_id;}
+ operator HANDLE () const {return tid ? tid->win32_obj_id : NULL;}
#endif
void set_siginfo (struct sigpacket *) __attribute__ ((regparm (3)));
int call_signal_handler () __attribute__ ((regparm (1)));