On Sun, Oct 11, 2020 at 04:36:03PM +0200, Charlene Wendling wrote: > Hi, > > I was trying to run osd_clock, but it leads to an infinite loop > hammering the cpu on my macppc machine. > > On arm and ppc char is unsigned by default. It is not enough to hold > the return value of getopt_long(3), that returns -1 once all arguments > have been exhausted, it should be int instead. > > With the below diff, the runtime is then good on macppc, and still > fine on amd64. > > Comments/feedback are welcome,
ok tb