commit | caa8a37ffe5922efda7fd7b882e96964b40d7135 | [log] [tgz] |
---|---|---|
author | David Carlier <devnexen@gmail.com> | Fri Jun 01 14:32:39 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jun 04 17:43:12 2018 +0200 |
tree | cbe565e4c5060fac2bffa01844617f3af4f25bdd | |
parent | ee07dbeca515fed3e6b71791daa2a2d8bd0ea599 [diff] |
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 *).