parent
ec4c1b5530
commit
aeb3dc2c07
@ -51,7 +51,7 @@ rpm_ostree_SOURCES = src/app/main.cxx \
|
||||
src/app/rpmostree-dbus-helpers.h \
|
||||
src/app/rpmostree-override-builtins.h \
|
||||
src/app/rpmostree-override-builtins.c \
|
||||
src/app/rpmostree-libbuiltin.c \
|
||||
src/app/rpmostree-libbuiltin.cxx \
|
||||
src/app/rpmostree-libbuiltin.h \
|
||||
src/app/rpmostree-polkit-agent.c \
|
||||
src/app/rpmostree-polkit-agent.h \
|
||||
|
@ -99,7 +99,7 @@ rpmostree_print_treepkg_diff_from_sysroot_path (const gchar *sysroot_path,
|
||||
g_autoptr(GPtrArray) deployments = ostree_sysroot_get_deployments (sysroot);
|
||||
g_assert_cmpuint (deployments->len, >, 1);
|
||||
|
||||
OstreeDeployment *new_deployment = deployments->pdata[0];
|
||||
auto new_deployment = static_cast<OstreeDeployment *>(deployments->pdata[0]);
|
||||
OstreeDeployment *booted_deployment = ostree_sysroot_get_booted_deployment (sysroot);
|
||||
|
||||
if (!booted_deployment || ostree_deployment_equal (booted_deployment, new_deployment))
|
Loading…
Reference in New Issue
Block a user