/* Convert wide string to string.
- Copyright (C) 2008, 2010-2011 Free Software Foundation, Inc.
+ Copyright (C) 2008, 2010-2012 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2008.
This program is free software: you can redistribute it and/or modify
{
const wchar_t *temp_src = *srcp;
- return wcsrtombs (NULL, &temp_src, len, ps);
+ return wcsrtombs (NULL, &temp_src, (size_t)-1, ps);
}
else
# endif