Skip to content

Commit 2469689

Browse files
authored
Merge pull request gvalkov#104 from ivaradi/master
Use H to parse uinput_setup arguments
2 parents 76b193d + 316ae76 commit 2469689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

evdev/uinput.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ uinput_setup(PyObject *self, PyObject *args) {
8484
struct uinput_user_dev uidev;
8585
const char* name;
8686

87-
int ret = PyArg_ParseTuple(args, "ishhhhO", &fd, &name, &vendor,
87+
int ret = PyArg_ParseTuple(args, "isHHHHO", &fd, &name, &vendor,
8888
&product, &version, &bustype, &absinfo);
8989
if (!ret) return NULL;
9090

0 commit comments

Comments
 (0)