mdp: Add patch for unsigned chars

This commit is contained in:
Fredrik Fornwall 2018-06-08 01:17:11 +02:00
parent e21e54e99f
commit e4073b5b84
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Submitted upstream at https://github.com/visit1985/mdp/pull/128
diff -u -r ../mdp-1.0.12/src/viewer.c ./src/viewer.c
--- ../mdp-1.0.12/src/viewer.c 2018-01-14 13:30:39.000000000 +0000
+++ ./src/viewer.c 2018-06-07 23:03:32.846968101 +0000
@@ -982,7 +982,7 @@
int get_slide_number(char init) {
int retval = init - '0';
- char c;
+ int c;
// block for tenths of a second when using getch, ERR if no input
halfdelay(GOTO_SLIDE_DELAY);
while((c = getch()) != ERR) {