summaryrefslogtreecommitdiff
path: root/include/apr_strings.h
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2008-01-04 17:21:25 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2008-01-04 17:21:25 +0000
commit74607e37dbb68549a2951363a9c99487b79a889f (patch)
tree1eb3d2b75f26a4a07fbaa65885fb731cb73ccac9 /include/apr_strings.h
parent7d12f06b273724400514b7304e020104647628f6 (diff)
downloadapr-74607e37dbb68549a2951363a9c99487b79a889f.tar.gz
A buggered declare that we need to fix in APR 2
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@608928 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_strings.h')
-rw-r--r--include/apr_strings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apr_strings.h b/include/apr_strings.h
index fcfb7777a..996f8ceb5 100644
--- a/include/apr_strings.h
+++ b/include/apr_strings.h
@@ -311,6 +311,8 @@ APR_DECLARE(char *) apr_off_t_toa(apr_pool_t *p, apr_off_t n);
* or 0. If base is zero, buf will be treated as base ten unless its
* digits are prefixed with '0x', in which case it will be treated as
* base 16.
+ * @bug *end breaks type safety; where *buf is const, *end needs to be
+ * declared as const in APR 2.0
*/
APR_DECLARE(apr_status_t) apr_strtoff(apr_off_t *offset, const char *buf,
char **end, int base);