Skip to content

Commit 9fd5332

Browse files
author
Devon Ryan
committed
Fix #14, use correct pointer type
1 parent 697884f commit 9fd5332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py2bit.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ static PyObject *py2bitOpen(PyObject *self, PyObject *args, PyObject *kwds) {
3232
}
3333

3434
PyObject *py2bitEnter(pyTwoBit_t *self, PyObject *args) {
35-
pyTwoBit_t *pytb = self->tb;
35+
TwoBit *tb = self->tb;
3636

37-
if(!pytb) {
37+
if(!tb) {
3838
PyErr_SetString(PyExc_RuntimeError, "The 2bit file handle is not open!");
3939
return NULL;
4040
}

0 commit comments

Comments
 (0)