summaryrefslogtreecommitdiff
path: root/random/unix/apr_random.c
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-11-06 16:26:09 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2003-11-06 16:26:09 +0000
commit25c812bff0b0f1703a1e840d02921f7f4411a168 (patch)
tree45cb448dfe4c130da2641af701c1065633dcf3d1 /random/unix/apr_random.c
parent65a8f5d47cc4b5c3bd901d8b4870d84c32d4c057 (diff)
downloadlibapr-25c812bff0b0f1703a1e840d02921f7f4411a168.tar.gz
fix an odd portability issue:
Bit-field foo must be of type signed int, unsigned int or int. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64737 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'random/unix/apr_random.c')
-rw-r--r--random/unix/apr_random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/random/unix/apr_random.c b/random/unix/apr_random.c
index 68e9739cc..64cd455e9 100644
--- a/random/unix/apr_random.c
+++ b/random/unix/apr_random.c
@@ -110,8 +110,8 @@ struct apr_random_t {
unsigned int g_for_insecure;
unsigned int g_for_secure;
unsigned int secure_base;
- unsigned char insecure_started:1;
- unsigned char secure_started:1;
+ unsigned int insecure_started:1;
+ unsigned int secure_started:1;
apr_random_t *next;
};