[mythtv] Eit fixup for comhem
danielk at cuymedia.net
Thu May 25 14:16:02 UTC 2006
On Thu, 2006-05-25 at 15:42 +0200, Torbjörn Jansson wrote:
> I know.
> I had to do a smal test program to see what was happening.
> The problem have to do with what type the key is in init_fixup.
> This "fix[40999 << 16] = kFixComHem;" makes the cast-to-int case work and
> "fix[(uint64_t)40999 << 16] = kFixComHem;" makes the uint and uint64_t case
> Maybe the index operator in QMap is doing something wierd?
Have you tried converting it to an STL map?
Perhaps the QMap isn't completely 64 bit safe. Are you
using an AMD64 chip & kernel? I am, but I'm using a
64 bit Qt; I could see a 32 bit Qt running in compatibility
mode on an AMD64 having this kind of problem.
More information about the mythtv-dev