aboutsummaryrefslogtreecommitdiff
path: root/src/survive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/survive.c')
-rwxr-xr-xsrc/survive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive.c b/src/survive.c
index 1c406e8..a5ca68f 100755
--- a/src/survive.c
+++ b/src/survive.c
@@ -182,7 +182,7 @@ SurviveContext * survive_init( int headless )
ctx->buttonQueue.buttonservicesem = OGCreateSema();
// start the thread to process button data
- ctx->buttonservicethread = OGCreateThread(button_servicer, ctx);
+ ctx->buttonservicethread = OGCreateThread(&button_servicer, ctx);
survive_install_button_fn(ctx, NULL);
survive_install_raw_pose_fn(ctx, NULL);