mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Fix some issues found by cppcheck.
This commit is contained in:
parent
72407a9cfb
commit
f851c4aa33
163 changed files with 776 additions and 767 deletions
|
|
@ -95,7 +95,7 @@ JoypadLinux::~JoypadLinux() {
|
|||
|
||||
void JoypadLinux::joy_thread_func(void *p_user) {
|
||||
if (p_user) {
|
||||
JoypadLinux *joy = (JoypadLinux *)p_user;
|
||||
JoypadLinux *joy = static_cast<JoypadLinux *>(p_user);
|
||||
joy->run_joypad_thread();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue