# HG changeset patch # User Sylvestre Ledru # Date 1517574109 -3600 # Node ID 86e0f2c3cc2d8dfdbdfffb2cd1ef77eda441eacb # Parent 9e41a686a5eda10bc630d2703fd8516e5804cf5a Bug 1435223 - Increase the size of idstring to avoid a warning r=baku MozReview-Commit-ID: FFOByQdUa0I diff --git a/dom/gamepad/linux/LinuxGamepad.cpp b/dom/gamepad/linux/LinuxGamepad.cpp --- a/dom/gamepad/linux/LinuxGamepad.cpp +++ b/dom/gamepad/linux/LinuxGamepad.cpp @@ -36,17 +36,17 @@ static const char kJoystickPath[] = "/de //TODO: should find a USB identifier for each device so we can // provide something that persists across connect/disconnect cycles. typedef struct { int index; guint source_id; int numAxes; int numButtons; - char idstring[128]; + char idstring[256]; char devpath[PATH_MAX]; } Gamepad; class LinuxGamepadService { public: LinuxGamepadService() : mMonitor(nullptr), mMonitorSourceID(0) { }