aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrdao/files/patch-trackdb::lec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrdao/files/patch-trackdb::lec.cc')
-rw-r--r--sysutils/cdrdao/files/patch-trackdb::lec.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/cdrdao/files/patch-trackdb::lec.cc b/sysutils/cdrdao/files/patch-trackdb::lec.cc
new file mode 100644
index 000000000000..aea6107f93d7
--- /dev/null
+++ b/sysutils/cdrdao/files/patch-trackdb::lec.cc
@@ -0,0 +1,11 @@
+--- trackdb/lec.cc.orig Sun Nov 24 16:28:30 2002
++++ trackdb/lec.cc Sun Feb 15 03:54:23 2004
+@@ -278,7 +278,7 @@
+ u_int32_t crc = 0;
+
+ while (len--) {
+- crc = CRCTABLE[(crc ^ *data++) & 0xffL] ^ (crc >> 8);
++ crc = CRCTABLE[(crc ^ *data++) & 0xff] ^ (crc >> 8);
+ }
+
+ return crc;