aboutsummaryrefslogtreecommitdiffstats
path: root/src/farptr.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-07-04 13:46:33 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-07-04 13:46:33 -0400
commit523e5a995e1502deebd94efba44a1b5cb0007794 (patch)
treec3fdb8f37722b1737c4a83ea02f7a5542549410e /src/farptr.h
parentd282af77b61af2172608b893a7a31fb686ec4643 (diff)
downloadseabios-523e5a995e1502deebd94efba44a1b5cb0007794.tar.gz
Use "p->sum -= checksum()" style for setting checksums.
Some code cleared the original checksum and then calculated a new one, others manipulated the checksum range to not include the old checksum. However, this was error prone - use the "-=" syntax consistently to reduce possible errors.
Diffstat (limited to 'src/farptr.h')
0 files changed, 0 insertions, 0 deletions