diff --git a/taglib/asf/asfattribute.cpp b/taglib/asf/asfattribute.cpp index 1e6ed705..66c1996a 100644 --- a/taglib/asf/asfattribute.cpp +++ b/taglib/asf/asfattribute.cpp @@ -217,10 +217,10 @@ String ASF::Attribute::parse(ASF::File &f, int kind) case BoolType: if(kind == 0) { - d->boolValue = (readDWORD(&f) == 1); + d->boolValue = (readDWORD(&f) != 0); } else { - d->boolValue = (readWORD(&f) == 1); + d->boolValue = (readWORD(&f) != 0); } break;