diff options
Diffstat (limited to 'ftnoir_protocol_ft')
-rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.cpp | 2 | ||||
-rw-r--r-- | ftnoir_protocol_ft/ftnoir_protocol_ft.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp index 9c3c8461..6b67fd38 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.cpp @@ -211,7 +211,7 @@ float headRotZ; start_dummy();
pMemData->GameID2 = pMemData->GameID;
intGameID = pMemData->GameID;
- QMutexLocker((QMutex*)&this->game_name_mutex);
+ QMutexLocker foo(&this->game_name_mutex);
connected_game = gamename;
}
diff --git a/ftnoir_protocol_ft/ftnoir_protocol_ft.h b/ftnoir_protocol_ft/ftnoir_protocol_ft.h index e1e46876..0915a5f3 100644 --- a/ftnoir_protocol_ft/ftnoir_protocol_ft.h +++ b/ftnoir_protocol_ft/ftnoir_protocol_ft.h @@ -60,7 +60,7 @@ public: bool checkServerInstallationOK( );
void sendHeadposeToGame( double *headpose, double *rawheadpose );
QString getGameName() {
- QMutexLocker((QMutex*)&game_name_mutex);
+ QMutexLocker foo(&game_name_mutex);
return connected_game;
}
|