small bug in resent arc posting

Michael Enkelis michaele at vice.TEK.COM
Sat Apr 16 06:37:18 AEST 1988


BSD4.3 unix on a VAX 11-780, Change arcusq.c
Michael Enkelis
503-627-4099

Feed me to patch

*** arcusq.c.orig	Fri Apr 15 13:31:51 1988
--- arcusq.c	Fri Apr 15 13:32:38 1988
***************
*** 50,56 ****
  get_int(f)			/* get an integer */
  	FILE           *f;	/* file to get it from */
  {
! 	return (getc_unp(f) | (getc_unp(f) << 8)) & 0xFFFF;
  }
  
  INT
--- 50,56 ----
  get_int(f)			/* get an integer */
  	FILE           *f;	/* file to get it from */
  {
! 	return ((getc_unp(f) << 8) | getc_unp(f)) & 0xFFFF;
  }
  
  INT
-- 
 _ _ _                          __
' ) ) )      /          /)     /  `       /      /)	Michael Enkelis
 / / / o _. /_  __. _  //     /--   __   /_  _  // o _ 	tektronix!vice!michaele
/ ' (_(_(__/ /_(_(_(<_(/_    (___, /) )_/ <_(<_(/_(_/_)_



More information about the Alt.sources mailing list