Index: shell/src/FiltersCommand.cpp |
=================================================================== |
--- a/shell/src/FiltersCommand.cpp |
+++ b/shell/src/FiltersCommand.cpp |
@@ -8,17 +8,17 @@ namespace |
typedef std::vector<AdblockPlus::FilterPtr> FilterList; |
void ShowFilterList(const FilterList& filters) |
{ |
for (FilterList::const_iterator it = filters.begin(); |
it != filters.end(); it++) |
{ |
std::string type; |
- switch ((*it)->GetProperty("type", -1)) |
+ switch ((*it)->GetProperty("type", (int64_t)-1)) |
{ |
case AdblockPlus::Filter::TYPE_BLOCKING: |
type = "blocking"; |
break; |
case AdblockPlus::Filter::TYPE_EXCEPTION: |
type = "exception"; |
break; |
case AdblockPlus::Filter::TYPE_ELEMHIDE: |