diff options
Diffstat (limited to 'wcsmbs/wcsdup.c')
-rw-r--r-- | wcsmbs/wcsdup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wcsmbs/wcsdup.c b/wcsmbs/wcsdup.c index 3d676ca704..626e222942 100644 --- a/wcsmbs/wcsdup.c +++ b/wcsmbs/wcsdup.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. @@ -27,7 +27,7 @@ wchar_t * wcsdup (s) const wchar_t *s; { - size_t len = (wcslen (s) + 1) * sizeof (wchar_t); + size_t len = (__wcslen (s) + 1) * sizeof (wchar_t); void *new = malloc (len); if (new == NULL) |