diff --git a/src/kits/tracker/AttributeStream.h b/src/kits/tracker/AttributeStream.h index 318ff3d112..1c31a851c4 100644 --- a/src/kits/tracker/AttributeStream.h +++ b/src/kits/tracker/AttributeStream.h @@ -396,7 +396,7 @@ template int32 AttributeStreamConstValue::Find(const char *name, uint32 type) const { - if (strcmp(fAttr.Name(), name) == 0 && type = fAttr.Type()) + if (strcmp(fAttr.Name(), name) == 0 && type == fAttr.Type()) return 0; return -1;