Skip to content

Commit b0b56b0

Browse files
authored
work-steal: Fix incompatible pointer warning (#20)
1 parent 980a953 commit b0b56b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

work-steal/work-steal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static work_t *EMPTY = (work_t *) 0x100, *ABORT = (work_t *) 0x200;
5151

5252
typedef struct {
5353
atomic_size_t size;
54-
_Atomic work_t *buffer[];
54+
_Atomic(work_t *) buffer[];
5555
} array_t;
5656

5757
typedef struct {

0 commit comments

Comments
 (0)