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