Skip to content

Commit

Permalink
Compile without warnings with MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
Bart van der Velden authored and lalinsky committed Dec 8, 2014
1 parent 1bc5acd commit fb1c744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/c/tag_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ static bool stringManagementEnabled = true;

void taglib_set_strings_unicode(BOOL unicode)
{
unicodeStrings = bool(unicode);
unicodeStrings = (unicode != 0);
}

void taglib_set_string_management_enabled(BOOL management)
{
stringManagementEnabled = bool(management);
stringManagementEnabled = (management != 0);
}

void taglib_free(void* pointer)
Expand Down

0 comments on commit fb1c744

Please sign in to comment.