summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2006-06-28 03:29:14 +0000
committerbelugas <belugas@openttd.org>2006-06-28 03:29:14 +0000
commit2f6c73f0985f7bb4307ce6e0b7fa189d65d11369 (patch)
tree004b065e527e4582dbd5f390cf81cd979989283a /win32.c
parent2b27073156f40df263cf653263488b8d72a76236 (diff)
downloadopenttd-2f6c73f0985f7bb4307ce6e0b7fa189d65d11369.tar.xz
(svn r5393) CodeChange : Little typo correction. Nothing spectacular. Only broke in MSVC
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32.c b/win32.c
index 2174cbe8d..a7cee0e92 100644
--- a/win32.c
+++ b/win32.c
@@ -108,7 +108,7 @@ static void MakeCRCTable(uint32 *table) {
for (i = 0; i != 256; i++) {
crc = i;
for (j = 8; j != 0; j--) {
- src = (crc & 1 ? (crc >> 1) ^ poly : crc >> 1);
+ crc = (crc & 1 ? (crc >> 1) ^ poly : crc >> 1);
}
table[i] = crc;
}