MINOR: task: Fix a compiler warning by adding a cast.
authorDavid Carlier <devnexen@gmail.com>
Fri, 1 Jun 2018 12:32:39 +0000 (14:32 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Jun 2018 15:43:12 +0000 (17:43 +0200)
commitcaa8a37ffe5922efda7fd7b882e96964b40d7135
treecbe565e4c5060fac2bffa01844617f3af4f25bdd
parentee07dbeca515fed3e6b71791daa2a2d8bd0ea599
MINOR: task: Fix a compiler warning by adding a cast.

When calling HA_ATOMIC_CAS with a pointer as the target, the compiler
expects a pointer as the new value, so give it one by casting 0x1 to
(void *).
include/proto/task.h