summaryrefslogtreecommitdiffstats
path: root/src/tests/common_tev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/common_tev.c')
-rw-r--r--src/tests/common_tev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/common_tev.c b/src/tests/common_tev.c
index 83ba9fd75..e9db8d053 100644
--- a/src/tests/common_tev.c
+++ b/src/tests/common_tev.c
@@ -30,7 +30,7 @@ struct tevent_req *
test_request_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, errno_t err)
{
struct tevent_req *req;
- int state;
+ int *state;
req = tevent_req_create(mem_ctx, &state, int);
if (!req) return NULL;