Skip to content

Commit 8ffa3dd

Browse files
authored
Fix printing TLB NatWidth (#1501)
1 parent 2a02b54 commit 8ffa3dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/tl/tlblib.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bool Bool::print_skip(PrettyPrinter& pp, vm::CellSlice& cs) const {
4545
}
4646

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

0 commit comments

Comments
 (0)