X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fstrcpy.c;h=21b5309ee5a5d9d18cc88f07cbee806ce3a7d559;hb=8ccf542c980645ba3c02074a8bc67cd4fc8e7a1f;hp=34c559f1799578b64def8a07ec6eae07ce46e381;hpb=6883ee56ec887c2c48abe5b06b5e66aa74031910;p=chise%2Fxemacs-chise.git.1 diff --git a/src/strcpy.c b/src/strcpy.c index 34c559f..21b5309 100644 --- a/src/strcpy.c +++ b/src/strcpy.c @@ -35,7 +35,6 @@ Boston, MA 02111-1307, USA. */ #define HIGH_BIT_P(c) ((c) & hi_bit) #define HAS_ZERO(c) (((((c) + magic) ^ (c)) & not_magic) != not_magic) -/* CONST IS LOSING, but const is part of the interface of strcpy */ char * strcpy (char *to, const char *from) { @@ -56,7 +55,7 @@ strcpy (char *to, const char *from) if (HAS_ZERO(c)) { to = (char *) to1; - from = (CONST char *) from1; + from = (const char *) from1; goto slow_loop; } else