mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-08 08:02:41 +02:00
Use toUInt when converting disc id from hex to integer
This commit is contained in:
parent
beb2af8f5b
commit
b0b203f4f3
@ -179,7 +179,7 @@ void RDCddbLookup::readyReadData()
|
|||||||
case 200: // Exact Match
|
case 200: // Exact Match
|
||||||
f0=line.split(" ");
|
f0=line.split(" ");
|
||||||
if(f0.size()>=4) {
|
if(f0.size()>=4) {
|
||||||
lookup_record->setDiscId(f0[2].toInt(&ok,16));
|
lookup_record->setDiscId(f0[2].toUInt(&ok,16));
|
||||||
if(!ok) {
|
if(!ok) {
|
||||||
FinishCddbLookup(RDCddbLookup::ProtocolError);
|
FinishCddbLookup(RDCddbLookup::ProtocolError);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user