X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fselect-msw.c;h=f72a46cf4610a1f2db118099a61b8331a2d783f6;hp=a760eb0681a53b18ab69d47404f8f86121908b1a;hb=3890a2e3064a7f562107c58e59d928284ec04741;hpb=a4106e305f464a1d09e395329e2426f7759a4281 diff --git a/src/select-msw.c b/src/select-msw.c index a760eb0..f72a46c 100644 --- a/src/select-msw.c +++ b/src/select-msw.c @@ -71,7 +71,7 @@ Copy STRING to the mswindows clipboard. 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 @@ Return the contents of the mswindows clipboard. 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' */