Skip to content

Commit 78f6771

Browse files
committed
don't use load_string with output parameter
1 parent c786670 commit 78f6771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stringdtype/stringdtype/src/casts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ string_to_string(PyArrayMethod_Context *NPY_UNUSED(context),
5454

5555
while (N--) {
5656
load_string(in, &s);
57-
load_string(out, &os);
57+
os = (ss *)out;
5858
if (ssdup(s, os) == -1) {
5959
gil_error(PyExc_MemoryError, "ssdup failed");
6060
return -1;

0 commit comments

Comments
 (0)