Skip to content

Commit

Permalink
fix CI build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Jul 16, 2024
1 parent bab245d commit e259469
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions asciidtype/asciidtype/src/casts.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ascii_to_ascii(PyArrayMethod_Context *context, char *const data[],
npy_intp const dimensions[], npy_intp const strides[],
NpyAuxData *NPY_UNUSED(auxdata))
{
PyArray_Descr **descrs = context->descriptors;
PyArray_Descr *const *descrs = context->descriptors;
long in_size = ((ASCIIDTypeObject *)descrs[0])->size;
long out_size = ((ASCIIDTypeObject *)descrs[1])->size;
long copy_size;
Expand Down Expand Up @@ -114,7 +114,7 @@ unicode_to_ascii(PyArrayMethod_Context *context, char *const data[],
npy_intp const dimensions[], npy_intp const strides[],
NpyAuxData *NPY_UNUSED(auxdata))
{
PyArray_Descr **descrs = context->descriptors;
PyArray_Descr *const *descrs = context->descriptors;
long in_size = (descrs[0]->elsize) / 4;
long out_size = ((ASCIIDTypeObject *)descrs[1])->size;
long copy_size;
Expand Down Expand Up @@ -165,7 +165,7 @@ ascii_to_unicode(PyArrayMethod_Context *context, char *const data[],
npy_intp const dimensions[], npy_intp const strides[],
NpyAuxData *NPY_UNUSED(auxdata))
{
PyArray_Descr **descrs = context->descriptors;
PyArray_Descr *const *descrs = context->descriptors;
long in_size = ((ASCIIDTypeObject *)descrs[0])->size;
long out_size = (descrs[1]->elsize) / 4;
long copy_size;
Expand Down

0 comments on commit e259469

Please sign in to comment.