Commit 9fb248b
committed
Fix indifinite loop on Termux
On Termux pdfsearch loops forever on getop_long() because char is probably unsigned on Termux, whatever it uses as a standard library. Changing the result to int fixes it and shouldn't be a problem on any platform1 parent e87d78d commit 9fb248b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments