Johannes Stezenbach <[EMAIL PROTECTED]> writes:

> (u32 is 64 bit on amd64,

No it isn't.  "u32" is 32 bit and "u64" is 64 bit, on every
architecture.  "unsigned long" is the dangerous one which is 32 bit on
i386 and 64 bit on amd64.

> -     crc = ntohl(*(u32*) ptr);
> +     crc = ntohl(*(uint32_t*) ptr);

That will not fix it.

  Gerd

-- 
"... und auch das ganze Wochenende oll" -- Wetterbericht auf RadioEins


-- 
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to