Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: AMD64 and DVB



Johannes Stezenbach <js@convergence.de> 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 ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index