wrowe 2002/07/02 11:18:52
Modified: test testatomic.c
Log:
We shouldn't presume any specific int sizes here, no?
Revision Changes Path
1.16 +2 -2 apr/test/testatomic.c
Index: testatomic.c
===================================================================
RCS file: /home/cvs/apr/test/testatomic.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- testatomic.c 1 May 2002 00:22:42 -0000 1.15
+++ testatomic.c 2 Jul 2002 18:18:52 -0000 1.16
@@ -82,8 +82,8 @@
static apr_status_t check_basic_atomics(volatile apr_atomic_t*p)
{
- apr_uint32_t oldval;
- apr_uint32_t casval = 0;
+ apr_atomic_t oldval;
+ apr_atomic_t casval = 0;
apr_atomic_set(&y, 2);
printf("%-60s", "testing apr_atomic_dec");
if (apr_atomic_dec(&y) == 0) {