Commit d0efecf
committed
The byte array element when shifted is only in an 'int' scope I believe,
so when it's shifted by more than 24, it goes off the end.
My solution is to break in two parts and then shift them on top once they're
in a long scope.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@140433 13f79535-47bb-0310-9956-ffa450edef681 parent b62e9c2 commit d0efecf
1 file changed
Lines changed: 10 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
| 254 | + | |
254 | 255 | | |
255 | 256 | | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
0 commit comments