Skip to content
Browse files

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

  • Loading branch information...
1 parent b469250 commit c5e88814386afb350faead9131a3897bbe5f7081 Jonathan Marshall committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 xbmc/music/tags/MusicInfoTag.cpp
  2. +2 −2 xbmc/music/tags/MusicInfoTag.h
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;

0 comments on commit c5e8881

Please sign in to comment.
Something went wrong with that request. Please try again.