From 74d5844d8c6ed18a73796c3fda42a2424ca70d97 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Sun, 13 Mar 2005 16:27:01 +0000 Subject: [PATCH] Tried to make 64-bit clean. John, please have a look! committer: mfx 1110731221 +0000 --- src/filter/ppcbxx.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/filter/ppcbxx.h b/src/filter/ppcbxx.h index 914a5160..d27cdfe7 100644 --- a/src/filter/ppcbxx.h +++ b/src/filter/ppcbxx.h @@ -57,9 +57,10 @@ static int F(Filter *f) { unsigned char buf[256]; unsigned short wbuf[256]; + const size_t WW = (size_t)0 - (~(size_t)0) << W_CTO; // ??? memset(wbuf, 0, sizeof(wbuf)); - memset(buf , 0, -(~0u<>6; @@ -70,7 +71,7 @@ static int F(Filter *f) } if (getcto(f, buf) < 0) { - if (0!=W_CTO) + if (0!=W_CTO) // FIXME: what is this ??? return -1; f->cto = 0; } @@ -93,7 +94,7 @@ static int F(Filter *f) lastcall = ic; } else { - assert(0==W_CTO + assert(0==W_CTO // FIXME: what is this ??? || (~(~0u<>(24+2 - W_CTO))) != cto8); // this should not happen lastnoncall = ic; noncalls++;