Skip to content

Commit

Permalink
Fix Fedora 40 CI compiler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewarmtemp committed Apr 24, 2024
1 parent ef2f614 commit f40f24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/rpmostree-clientlib.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ rpmostree_print_gpg_info (GVariant *signatures, gboolean verbose, guint max_key_
{
/* +2 for initial leading spaces */
const guint gpgpad = max_key_len + 2 + strlen (": ");
char gpgspaces[gpgpad + 1];
char *gpgspaces = new char[gpgpad + 1];
memset (gpgspaces, ' ', gpgpad);
gpgspaces[gpgpad] = '\0';

Expand Down

0 comments on commit f40f24c

Please sign in to comment.