robert 0794d13291 Changed the type of the variable `qidx' from u_int8_t to int,
mainly to quiet a warning emitted by GCC 3.3 about comparing
a variable to a value which is larger than the former can hold.

The value was checked to make sure the `np->squeue' array is
not accessed behind its boundary.
This worked due to possibly accidental truncation when
(np->squeueput + 1) was larger than or equal to MAX_START (256)
when it was assigned to `qidx'.

`qidx' is used to hold the next position in the start queue
for an insertion.  The new type was chosen because some other
code in the function ncr_freeze_devq() also uses plain integers
to hold those indices.

Wrapped the line after the closing parenthesis of an `if'
condition.
2003-07-27 00:13:49 +00:00
..
2003-07-25 18:58:39 +00:00
2003-07-25 21:19:19 +00:00
2003-05-19 20:29:07 +00:00
2003-06-10 21:44:29 +00:00
2003-07-21 02:49:42 +00:00
2003-06-11 05:37:42 +00:00
2003-06-11 05:37:42 +00:00
2003-07-23 12:09:14 +00:00
2003-06-11 06:34:30 +00:00
2003-07-05 01:24:36 +00:00