Link libgnunetblockgroup to libgnunetblock
[oweals/gnunet.git] / src / util / w32cat.c
index b9b783ad79bae69aac9b0d063515ff9e8823826a..f2a0feac5fd544db793a9aacd6427e2693d7700d 100644 (file)
@@ -1,6 +1,6 @@
 /*
      W32 version of 'cat' program
-     (C) 2012 LRN
+     Copyright (C) 2012 LRN
 
      cat is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -14,8 +14,8 @@
 
      You should have received a copy of the GNU General Public License
      along with cat; see the file COPYING.  If not, write to the
-     Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-     Boston, MA 02111-1307, USA.
+     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+     Boston, MA 02110-1301, USA.
 */
 
 #include <stdio.h>
@@ -57,7 +57,7 @@ install_parent_control_handler ()
   if ((0 != errno) || (env_buf == env_buf_end))
     return;
   /* Gcc will issue a warning here. What to do with it? */
-  pipe_handle = (HANDLE) pipe_fd;
+  pipe_handle = (HANDLE) (uintptr_t) pipe_fd;
   CreateThread (NULL, 0, parent_control_thread, (LPVOID) pipe_handle, 0, NULL);
 }