Commit 5115abe
committed
Skip useless compare to LONG_MAX in to_python(unsigned u)
As LONG_MAX is larger than any value representable by unsigned (int)
on most platforms, the test in the method do not make sense on these.
And 'unsigned long' can represent any value of unsigned int, so drop
the test.
Get rid of warning discovered with clang.1 parent c8dd11e commit 5115abe
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments