summaryrefslogtreecommitdiff
path: root/strings/apr_cpystrn.c
diff options
context:
space:
mode:
authorJean-Frederic Clere <jfclere@apache.org>2001-07-25 16:09:35 +0000
committerJean-Frederic Clere <jfclere@apache.org>2001-07-25 16:09:35 +0000
commitb82ebe99b1ee10c3afe8ce3ce8c8c513ffc6e579 (patch)
treec0bd02408b15b452c3f37d7b0115d70ca462a813 /strings/apr_cpystrn.c
parentc5a0883844f8282bc76e09ea31fe542c6225e8e3 (diff)
downloadapr-b82ebe99b1ee10c3afe8ce3ce8c8c513ffc6e579.tar.gz
Change the size_t into apr_size_t (It causes problems on Solaris with gcc).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62018 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings/apr_cpystrn.c')
-rw-r--r--strings/apr_cpystrn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/apr_cpystrn.c b/strings/apr_cpystrn.c
index 0ece3ed17..85aa3f3ec 100644
--- a/strings/apr_cpystrn.c
+++ b/strings/apr_cpystrn.c
@@ -80,7 +80,7 @@
* apr_cpystrn() follows the same call structure as strncpy().
*/
-APR_DECLARE(char *) apr_cpystrn(char *dst, const char *src, size_t dst_size)
+APR_DECLARE(char *) apr_cpystrn(char *dst, const char *src, apr_size_t dst_size)
{
char *d, *end;