Skip to content

Commit

Permalink
fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall committed May 17, 2012
1 parent 44c1ac4 commit 826dbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/video/VideoDatabase.cpp
Expand Up @@ -1151,7 +1151,7 @@ int CVideoDatabase::AddEpisode(int idShow, const CStdString& strFilenameAndPath)

CStdString strSQL=PrepareSQL("insert into episode (idEpisode, idFile, idShow) values (NULL, %i, %i)", idFile, idShow);
m_pDS->exec(strSQL.c_str());
return m_pDS->lastinsertid();
return (int)m_pDS->lastinsertid();
}
catch (...)
{
Expand Down

0 comments on commit 826dbfc

Please sign in to comment.