From 065efe7f2bf54ca45af637d088d471742638c9c4 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Mon, 4 Mar 2013 17:56:25 -0800 Subject: [PATCH] deque: use atomic_uintptr_t 'Atomic(Array *)' seems to be a pseudocode type. Just use atomic_uintptr_t and allow the warnings for now (we could alternatively use a cast every time). --- chase-lev-deque/deque.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chase-lev-deque/deque.c b/chase-lev-deque/deque.c index 02a65ea..efa9b16 100644 --- a/chase-lev-deque/deque.c +++ b/chase-lev-deque/deque.c @@ -8,7 +8,7 @@ typedef struct { typedef struct { atomic_size_t top, bottom; - Atomic(Array *) array; + atomic_uintptr_t array; /* Atomic(Array *) */ } Deque; int take(Deque *q) { -- 2.34.1