Opened 15 years ago

Closed 15 years ago

#1386 closed defect (fixed)

[9135] doesn't compile on amd64

Reported by: janne-mythtv@… Owned by: danielk
Priority: minor Milestone: unknown
Component: dvb Version:
Severity: medium Keywords:
Cc: Ticket locked: no


QVariant has no constructor for unsigned long (uint64_t on amd64)

Since I'm not sure how to cast the value in the sql query, i just replaced the uint64_t introduced by [9135] in sitypes.h with unsigned long long. With this change it compiles fine.

siscan.cpp: In member function `void SIScan::UpdateTransportsInDB(NITObject)':
siscan.cpp:1692: error: conversion from `uint64_t' to `const QVariant' is ambiguous
/usr/qt/3/include/qvariant.h:169: note: candidates are: QVariant::QVariant(double)
/usr/qt/3/include/qvariant.h:166: note:                 QVariant::QVariant(Q_ULLONG)
/usr/qt/3/include/qvariant.h:165: note:                 QVariant::QVariant(Q_LLONG)
/usr/qt/3/include/qvariant.h:164: note:                 QVariant::QVariant(uint)
/usr/qt/3/include/qvariant.h:163: note:                 QVariant::QVariant(int)
/usr/qt/3/include/qvariant.h:131: note:                 QVariant::QVariant(const char*) <near match>

Change History (1)

comment:1 Changed 15 years ago by danielk

Resolution: fixed
Status: newclosed

(In [9141]) Fixes #1386.

Note: See TracTickets for help on using tickets.