| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4737265 commit 13ab570
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -185,9 +185,7 @@ in bounds; that's the responsibility of the caller. | |||
| 185 | 185 | static PyObject * | |
| 186 | 186 | b_getitem(arrayobject *ap, Py_ssize_t i) | |
| 187 | 187 | { | |
| 188 | - long x = ((char *)ap->ob_item)[i]; | ||
| 189 | - if (x >= 128) | ||
| 190 | - x -= 256; | ||
| 188 | + long x = ((signed char *)ap->ob_item)[i]; | ||
| 191 | 189 | return PyLong_FromLong(x); | |
| 192 | 190 | } | |
| 193 | 191 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments