Skip to content

Commit

Permalink
fixup! bigint needed for 64bit conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
zdykstra committed Oct 24, 2023
1 parent 1ffaf41 commit f6177da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/generate-zbm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use File::stat;
use File::Path qw(make_path remove_tree);
use File::Glob qw(:globally :nocase);
use Sort::Versions;
use bigint qw(hex);

use Pod::Usage qw(pod2usage);

Expand Down Expand Up @@ -804,9 +805,9 @@ sub createUEFIBundle {
$status = pop(@output);
if ( $status eq 0 ) {
my @sizes = split( /\s+/, @output[ scalar @output - 1 ] );

my $size = "0x" . $sizes[3];
my $vma = "0x" . $sizes[4];

my $sum = hex($size) + hex($vma);

$uki_offset = increaseBundleOffset( $sum, 0, $uki_alignment );
Expand Down

0 comments on commit f6177da

Please sign in to comment.