Skip to content
This repository
Browse code

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

  • Loading branch information...
commit c5e88814386afb350faead9131a3897bbe5f7081 1 parent b469250
authored November 17, 2012
2  xbmc/music/tags/MusicInfoTag.cpp
@@ -202,7 +202,7 @@ int CMusicInfoTag::GetYear() const
202 202
   return m_dwReleaseDate.wYear;
203 203
 }
204 204
 
205  
-long CMusicInfoTag::GetDatabaseId() const
  205
+int CMusicInfoTag::GetDatabaseId() const
206 206
 {
207 207
   return m_iDbId;
208 208
 }
4  xbmc/music/tags/MusicInfoTag.h
@@ -82,7 +82,7 @@ class CMusicInfoTag : public IArchivable, public ISerializable, public ISortable
82 82
   int GetTrackAndDiskNumber() const;
83 83
   int GetDuration() const;  // may be set even if Loaded() returns false
84 84
   int GetYear() const;
85  
-  long GetDatabaseId() const;
  85
+  int GetDatabaseId() const;
86 86
   const std::string &GetType() const;
87 87
 
88 88
   void GetReleaseDate(SYSTEMTIME& dateTime) const;
@@ -192,7 +192,7 @@ class CMusicInfoTag : public IArchivable, public ISerializable, public ISortable
192 192
   bool m_bCompilation;
193 193
   int m_iDuration;
194 194
   int m_iTrack;     // consists of the disk number in the high 16 bits, the track number in the low 16bits
195  
-  long m_iDbId;
  195
+  int m_iDbId;
196 196
   std::string m_type; ///< item type "song", "album", "artist"
197 197
   bool m_bLoaded;
198 198
   char m_rating;

0 notes on commit c5e8881

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