Permalink
Browse files

Merge pull request #4034 from ace20022/comp_warning

[Fix] Fix comipler warning bool <= int in AudioLibrary.cpp
  • Loading branch information...
2 parents a3bb33d + e7b0d97 commit 4a0380835f480d714915e6b28454c27acfdb78e6 @jmarshallnz jmarshallnz committed Jan 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/interfaces/json-rpc/AudioLibrary.cpp
@@ -423,7 +423,7 @@ JSONRPC_STATUS CAudioLibrary::SetArtistDetails(const CStdString &method, ITransp
if (ParameterNotNull(parameterObject, "yearsactive"))
CopyStringArray(parameterObject["yearsactive"], artist.yearsActive);
- if (musicdatabase.UpdateArtist(artist) <= 0)
+ if (!musicdatabase.UpdateArtist(artist))
return InternalError;
CJSONRPCUtils::NotifyItemUpdated();

0 comments on commit 4a03808

Please sign in to comment.