hif: Fix compile warning for new libhif versions

This commit is contained in:
Richard Hughes 2014-05-08 16:30:32 +01:00
parent 39a0dd5b23
commit 9c8c072ce9

View File

@ -208,7 +208,7 @@ hif_emit_package_list_filter (PkBackendJob *job,
FOR_PACKAGELIST(pkg, pkglist, i) {
/* blocked */
if (hif_package_get_info (pkg) == PK_INFO_ENUM_BLOCKED)
if ((PkInfoEnum) hif_package_get_info (pkg) == PK_INFO_ENUM_BLOCKED)
continue;
/* GUI */