diff --git a/dom/gamepad/linux/LinuxGamepad.cpp b/dom/gamepad/linux/LinuxGamepad.cpp index e81051a8494e..94a53bfe2c04 100644 --- a/dom/gamepad/linux/LinuxGamepad.cpp +++ b/dom/gamepad/linux/LinuxGamepad.cpp @@ -41,7 +41,7 @@ typedef struct { guint source_id; int numAxes; int numButtons; - char idstring[128]; + char idstring[256]; char devpath[PATH_MAX]; } Gamepad;