Skip to content

Fix 32-bit#1

Closed
dra27 wants to merge 1 commit intojanestreet:masterfrom
dra27:32bit
Closed

Fix 32-bit#1
dra27 wants to merge 1 commit intojanestreet:masterfrom
dra27:32bit

Conversation

@dra27
Copy link

@dra27 dra27 commented Oct 8, 2020

Avoid the constant 0xffffffff when building 32-bit

Signed-off-by: David Allsopp <david.allsopp@metastack.com>
@stedolan
Copy link
Collaborator

I think you might have uncovered a bug here? It looks like numbers between 0x80000000 and 0xffffffff won't round-trip correctly, due to confusion between put_vint and get_vint about whether 32-bit integers are signed.

@stedolan
Copy link
Collaborator

Yep, that's a bug. Fix in #4.

@lukemaurer
Copy link
Contributor

Superseded by #4; closing

@lukemaurer lukemaurer closed this Dec 8, 2020
tmcgilchrist referenced this pull request in tmcgilchrist/memtrace Apr 1, 2025
Add Quick CLI to convert CTF to pprof
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants