diff src/select-msw.c @ 400:a86b2b5e0111 r21-2-30

Import from CVS: tag r21-2-30
author cvs
date Mon, 13 Aug 2007 11:14:34 +0200
parents 74fd4e045ea6
children 2f8bb876ab1d
line wrap: on
line diff
--- a/src/select-msw.c	Mon Aug 13 11:13:33 2007 +0200
+++ b/src/select-msw.c	Mon Aug 13 11:14:34 2007 +0200
@@ -71,7 +71,7 @@
   do
     {
       /* copy next line or remaining bytes including '\0' */
-      next = memccpy (dst, src, '\n', rawsize);
+      next = (char*) memccpy (dst, src, '\n', rawsize);
       if (next)
 	{
 	  /* copied one line ending with '\n' */
@@ -141,7 +141,7 @@
       do
 	{
 	  /* copy next line or remaining bytes excluding '\0' */
-	  next = memccpy (dst, src, '\r', rawsize);
+	  next = (char*) memccpy (dst, src, '\r', rawsize);
 	  if (next)
 	    {
 	      /* copied one line ending with '\r' */