Index: /trunk/include/iprt/types.h
===================================================================
--- /trunk/include/iprt/types.h	(revision 26733)
+++ /trunk/include/iprt/types.h	(revision 26734)
@@ -1161,5 +1161,5 @@
 /** Nil pipe handle.
  * @remarks This is not 0 because of UNIX and OS/2 handle values. Take care! */
-#define NIL_RTPIPE                                 (~(RTPIPE)0)
+#define NIL_RTPIPE                                 ((RTPIPE)RTHCUINTPTR_MAX)
 
 /** @typedef RTPOLLSET
