diff options
author | CNLohr <charles@cnlohr.com> | 2018-01-15 11:19:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 11:19:47 -0500 |
commit | 8be34f04a100defc9d1958aa4ce63ef02d19db69 (patch) | |
tree | f293b454dceec027a67b9e670c1c2708e862c438 /src/survive.c | |
parent | 6b565075dd0d48e663fbac5291387ed0dde46be6 (diff) | |
parent | c570809ce1d1cc1d30ef4db547e6388b3fd80ac1 (diff) | |
download | libsurvive-8be34f04a100defc9d1958aa4ce63ef02d19db69.tar.gz libsurvive-8be34f04a100defc9d1958aa4ce63ef02d19db69.tar.bz2 |
Merge pull request #94 from ChristophHaag/master
fix segfault in config_set_lighthouse() and various gcc warnings
Diffstat (limited to 'src/survive.c')
-rwxr-xr-x | src/survive.c | 2 |
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); |