View | Details | Raw Unified
Collapse All | Expand All

(-) bsd-games-2.13/adventure/crc.c~ (-2 / +3 lines)
 Lines 134-140    Link Here 
				if (step >= sizeof(crctab) / sizeof(crctab[0]))
				if (step >= sizeof(crctab) / sizeof(crctab[0]))
					step = 0;
					step = 0;
			}
			}
			crcval = (crcval << 8) ^ crctab[i];
			/* Mask to 32 bits. */
			crcval = ((crcval << 8) ^ crctab[i]) & 0xffffffff;
		}
		}
	return crcval & 0xffffffff;	/* Mask to 32 bits. */
	return crcval;
}
}