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
commit5f358a5b7b01fcb35d0776841e3bac195a340210 (patch)
tree004b065e527e4582dbd5f390cf81cd979989283a /win32.c
parent772fbda3e37488c2bf7beb96d35b2cbe001d9eda (diff)
downloadopenttd-5f358a5b7b01fcb35d0776841e3bac195a340210.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;
}