@@ -128,13 +128,13 @@ bool BaseSet<T, Tnum_files, Tsearch_in_t
DEBUG(grf, 1, "No origin warning message specified for: %s", filename);
file->missing_warning = strdup("");
} else {
file->missing_warning = strdup(item->value);
}
switch (file->CheckMD5(BASESET_DIR)) {
switch (T::CheckMD5(file, BASESET_DIR)) {
case MD5File::CR_MATCH:
this->valid_files++;
/* FALL THROUGH */
case MD5File::CR_MISMATCH:
this->found_files++;
break;