The variable rx_bytes is marked VARLOW, but there was a missing
GET_LOW() to access rx_bytes.  Fix by copying rx_bytes to a local
variable and avoid the repetitive segment memory accesses.

Reported-by: Gabe Black <gabe.bl...@gmail.com>
Signed-off-by: Volker Rümelin <vr_q...@t-online.de>
Signed-off-by: Kevin O'Connor <ke...@koconnor.net>
---
  src/sercon.c | 20 +++++++++++---------
  1 file changed, 11 insertions(+), 9 deletions(-)


Thank you.
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to