summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 83ba9fd7..e9db8d05 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;