Repository navigation
Commit cb604ba
Fix reading of negative 64-bit integers in TBuffer.ntoi8
~ returns a signed int32, so negative Long64_t values whose low word is
below 0x80000000 were read off by +2^32 (e.g. -2^32 came back as 0).
Convert ~high and ~low back to unsigned with >>> 0 before combining.1 parent 7b57145 commit cb604ba
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2477 | 2477 | | |
2478 | 2478 | | |
2479 | 2479 | | |
2480 | | - | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
2481 | 2483 | | |
2482 | 2484 | | |
2483 | 2485 | | |
| |||
0 commit comments