mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
v4l-utils: add patch to fix an overflow so imon MCE remotes should work after loding ir-keytable, thanks much to nektarios
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d43dbbfbbb
commit
c1c5562770
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur v4l-utils-0.8.3/utils/keytable/keytable.c v4l-utils-0.8.3.patch/utils/keytable/keytable.c
|
||||||
|
--- v4l-utils-0.8.3/utils/keytable/keytable.c 2011-02-09 23:04:27.000000000 +0100
|
||||||
|
+++ v4l-utils-0.8.3.patch/utils/keytable/keytable.c 2011-03-22 22:40:16.957618675 +0100
|
||||||
|
@@ -267,7 +267,7 @@
|
||||||
|
perror("value");
|
||||||
|
}
|
||||||
|
|
||||||
|
- nextkey->codes[0] = (unsigned) strtol(scancode, NULL, 0);
|
||||||
|
+ nextkey->codes[0] = (unsigned) strtoul(scancode, NULL, 0);
|
||||||
|
nextkey->codes[1] = (unsigned) value;
|
||||||
|
nextkey->next = calloc(1, sizeof(*nextkey));
|
||||||
|
if (!nextkey->next) {
|
Loading…
x
Reference in New Issue
Block a user