* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: acache.c,v 1.17 2006/06/28 08:28:49 jinmei Exp $ */
+/* $Id: acache.c,v 1.18 2006/07/06 06:30:00 jinmei Exp $ */
#include <config.h>
#define ACACHE_LOCK(l, t) RWLOCK((l), (t))
#define ACACHE_UNLOCK(l, t) RWUNLOCK((l), (t))
-#define acache_storetime(entry, t) (isc_atomic_store(&(entry)->lastused, (t)))
+#define acache_storetime(entry, t) \
+ (isc_atomic_store((isc_int32_t *)&(entry)->lastused, (t)))
#else
#define ACACHE_INITLOCK(l) isc_mutex_init(l)
#define ACACHE_DESTROYLOCK(l) DESTROYLOCK(l)