diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index 60bd3b080d972ccb387037a1d3d7c8989eda531e..694f010ef3127530384bc114f8fbf35d8d3db7af 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -4495,7 +4495,7 @@ void* LLWindowWin32::getDirectInput8()
     return &gDirectInput8;
 }
 
-bool LLWindowWin32::getInputDevices(U32 device_type_filter
+bool LLWindowWin32::getInputDevices(U32 device_type_filter,
                                     std::function<bool(std::string&, LLSD&, void*)> osx_callback,
                                     void * di8_devices_callback,
                                     void* userdata)
diff --git a/indra/newview/llviewerjoystick.cpp b/indra/newview/llviewerjoystick.cpp
index ef96ea4493befed459aac17d8d7304ade902f7bb..4577f71061afae6237c7f6b3a0d1983a64fb0ad7 100644
--- a/indra/newview/llviewerjoystick.cpp
+++ b/indra/newview/llviewerjoystick.cpp
@@ -1446,7 +1446,7 @@ void LLViewerJoystick::saveDeviceIdToSettings()
     // someone editing the xml will corrupt it
     // so convert to string first
     std::string device_string = getDeviceUUIDString();
-    gSavedSettings.setLLSD("JoystickDeviceUUID", LLSD(device_string);
+    gSavedSettings.setLLSD("JoystickDeviceUUID", LLSD(device_string));
 #else
     LLSD device_id = getDeviceUUID();
     gSavedSettings.setLLSD("JoystickDeviceUUID", device_id);