Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use an int for CMusicInfoTag::m_iDbId rather than a long

  • Loading branch information...
commit c5e88814386afb350faead9131a3897bbe5f7081 1 parent b469250
Jonathan Marshall authored
View
2  xbmc/music/tags/MusicInfoTag.cpp
@@ -202,7 +202,7 @@ int CMusicInfoTag::GetYear() const
return m_dwReleaseDate.wYear;
}
-long CMusicInfoTag::GetDatabaseId() const
+int CMusicInfoTag::GetDatabaseId() const
{
return m_iDbId;
}
View
4 xbmc/music/tags/MusicInfoTag.h
@@ -82,7 +82,7 @@ class CMusicInfoTag : public IArchivable, public ISerializable, public ISortable
int GetTrackAndDiskNumber() const;
int GetDuration() const; // may be set even if Loaded() returns false
int GetYear() const;
- long GetDatabaseId() const;
+ int GetDatabaseId() const;
const std::string &GetType() const;
void GetReleaseDate(SYSTEMTIME& dateTime) const;
@@ -192,7 +192,7 @@ class CMusicInfoTag : public IArchivable, public ISerializable, public ISortable
bool m_bCompilation;
int m_iDuration;
int m_iTrack; // consists of the disk number in the high 16 bits, the track number in the low 16bits
- long m_iDbId;
+ int m_iDbId;
std::string m_type; ///< item type "song", "album", "artist"
bool m_bLoaded;
char m_rating;
Please sign in to comment.
Something went wrong with that request. Please try again.