aboutsummaryrefslogtreecommitdiff
path: root/src/survive.c
diff options
context:
space:
mode:
authorChristoph Haag <haagch@frickel.club>2018-01-15 17:10:55 +0100
committerChristoph Haag <haagch@frickel.club>2018-01-15 17:12:40 +0100
commitc570809ce1d1cc1d30ef4db547e6388b3fd80ac1 (patch)
treef293b454dceec027a67b9e670c1c2708e862c438 /src/survive.c
parent91fc90bf9171fe588fd11492bdae7419d5ccd921 (diff)
downloadlibsurvive-c570809ce1d1cc1d30ef4db547e6388b3fd80ac1.tar.gz
libsurvive-c570809ce1d1cc1d30ef4db547e6388b3fd80ac1.tar.bz2
fix various -Wall warnings
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);