diff options
Diffstat (limited to 'sysutils/cdrdao/patches/patch-ag')
-rw-r--r-- | sysutils/cdrdao/patches/patch-ag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/cdrdao/patches/patch-ag b/sysutils/cdrdao/patches/patch-ag new file mode 100644 index 00000000000..52d4d670998 --- /dev/null +++ b/sysutils/cdrdao/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1 2004/06/08 22:36:09 cube Exp $ + +--- trackdb/lec.cc.orig 2004-06-08 23:43:27.000000000 +0200 ++++ trackdb/lec.cc +@@ -278,7 +278,7 @@ static u_int32_t calc_edc(u_int8_t *data + u_int32_t crc = 0; + + while (len--) { +- crc = CRCTABLE[(crc ^ *data++) & 0xffL] ^ (crc >> 8); ++ crc = CRCTABLE[(int)((crc ^ *data++) & 0xffL)] ^ (crc >> 8); + } + + return crc; |