On 2 Jul 2002 [EMAIL PROTECTED] wrote: > wrowe 2002/07/02 11:18:52 > > Modified: test testatomic.c > Log: > We shouldn't presume any specific int sizes here, no? > > + apr_atomic_t oldval; > + apr_atomic_t casval = 0;
This will fix some things and break others. apr_atomic_t is not necessarily a scalar -- on some platforms it's a struct. In other parts of testatomic there are printf()'s on oldval and casval I believe (bad! bad!). --Cliff