[vdr] Re: [ANNOUNCE] VDR developer version 1.3.47
Klaus Schmidinger
Klaus.Schmidinger at cadsoft.de
Sat Apr 22 22:47:22 CEST 2006
Reinhard Nissl wrote:
> Hi,
>
> Christian Wieninger wrote:
>
>>> Strange... I have the same compiler version here
>
>
> Me, too ;-)
>
>> I just notice, that I also don't get the warning on a machine at home,
>> where I run the same system and compiler. The warning occures on a
>> machine at office, where I just did a quick compile test. The only
>> difference between the two systems is, that the office machine runs
>> the 64-bit edition of Suse 10, while at home it's the 32-bit edition.
>> Perhaps that's the reason.
>
>
> It is.
>
>>> I'm not sure what to make of this...
>>
>>
>> perhaps nothing ;-)
>
>
> I've got a report of a similar warning in vdr-xine. I suggest this
> solution:
>
> esyslog("ERROR: can't allocate %ld bytes for index '%s'", (long)(size *
> sizeof(tIndex)), fileName);
To be honest, I don't like this.
Shouldn't this work on both 32- and 64bit systems without the need of
typecasting?
Klaus
More information about the vdr
mailing list