Skip to content

Commit df1c015

Browse files
authored
Fix OverflowError in descriptor (#891)
1 parent 17ddb96 commit df1c015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/dpnp_utils/dpnp_algo_utils.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ cdef class dpnp_descriptor:
565565
return self.origin_pyobj
566566

567567
cdef void * get_data(self):
568-
cdef long val = self.data
568+
cdef size_t val = self.data
569569
return < void * > val
570570

571571
def __bool__(self):

0 commit comments

Comments
 (0)