diff options
author | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2003-01-13 18:23:09 +0000 |
---|---|---|
committer | wrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68> | 2003-01-13 18:23:09 +0000 |
commit | 0d5c1ec01e2ab459847c240551cec2db9a6a2a90 (patch) | |
tree | 97b7a8aa06d343bad667a37d2c806871ee647556 /misc/netware/rand.c | |
parent | 5c7c7e474732f7852727b54ecca94a28d6abc310 (diff) | |
download | libapr-0d5c1ec01e2ab459847c240551cec2db9a6a2a90.tar.gz |
While this is a 'proper' change, it breaks 64 bit platforms.
Identify as "this will change" with the 1.0 (or 0.10) generation.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc/netware/rand.c')
-rw-r--r-- | misc/netware/rand.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/netware/rand.c b/misc/netware/rand.c index 5042e069c..44425ea4a 100644 --- a/misc/netware/rand.c +++ b/misc/netware/rand.c @@ -62,7 +62,11 @@ #include <nks/plat.h> APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char *buf, - apr_size_t length) +#ifdef APR_ENABLE_FOR_1_0 + apr_size_t length) +#else + int length) +#endif { return NXSeedRandom(length, buf); } |