Skip to content

Commit

Permalink
Fix printing TLB NatWidth (#1501)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpyCheese authored Jan 27, 2025
1 parent 2a02b54 commit 8ffa3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/tl/tlblib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ bool Bool::print_skip(PrettyPrinter& pp, vm::CellSlice& cs) const {
}

bool NatWidth::print_skip(PrettyPrinter& pp, vm::CellSlice& cs) const {
long long value = (long long)cs.fetch_ulong(32);
long long value = (long long)cs.fetch_ulong(n);
return value >= 0 && pp.out_int(value);
}

Expand Down

0 comments on commit 8ffa3dd

Please sign in to comment.