summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Tilley <lv@gentoo.org>2004-07-14 13:24:04 +0000
committerTravis Tilley <lv@gentoo.org>2004-07-14 13:24:04 +0000
commiteaf0434553c41d101ba9747d8bf70ea19c4d3a7b (patch)
tree00837156fdf25bb37f8c495683a25a6f2aac0780 /app-cdr/cdrdao/files
parentsync IUSE (+mozilla) (Manifest recommit) (diff)
downloadgentoo-2-eaf0434553c41d101ba9747d8bf70ea19c4d3a7b.tar.gz
gentoo-2-eaf0434553c41d101ba9747d8bf70ea19c4d3a7b.tar.bz2
gentoo-2-eaf0434553c41d101ba9747d8bf70ea19c4d3a7b.zip
add cast patch for cdrdao 1.1.9
Diffstat (limited to 'app-cdr/cdrdao/files')
-rw-r--r--app-cdr/cdrdao/files/cdrdao-1.1.9-cast.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-cdr/cdrdao/files/cdrdao-1.1.9-cast.patch b/app-cdr/cdrdao/files/cdrdao-1.1.9-cast.patch
new file mode 100644
index 000000000000..46f4cb65f7f0
--- /dev/null
+++ b/app-cdr/cdrdao/files/cdrdao-1.1.9-cast.patch
@@ -0,0 +1,11 @@
+--- cdrdao-1.1.9/trackdb/lec.cc.cast 2004-03-05 21:46:39.000000000 +0100
++++ cdrdao-1.1.9/trackdb/lec.cc 2004-06-08 14:01:16.306661872 +0200
+@@ -278,7 +278,7 @@
+ u_int32_t crc = 0;
+
+ while (len--) {
+- crc = CRCTABLE[(crc ^ *data++) & 0xff] ^ (crc >> 8);
++ crc = CRCTABLE[(int)(crc ^ *data++) & 0xff] ^ (crc >> 8);
+ }
+
+ return crc;