Make struct sctstr member sct_effic signed

To bring it in line with unit efficiency.
This commit is contained in:
Markus Armbruster 2009-12-31 11:36:59 +01:00
parent 76575df96b
commit ca2dba33f0
4 changed files with 4 additions and 4 deletions

View file

@ -487,7 +487,7 @@ doland(char op, int arg, char *p, struct sctstr *sect)
case 'e':
new = errcheck(arg, 0, 100);
noise(sect, "Efficiency", sect->sct_effic, new);
sect->sct_effic = (unsigned char)new;
sect->sct_effic = new;
break;
case 'm':
new = errcheck(arg, -127, 255);