Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 77032 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 77032