Skip to content

Commit 43b71f0

Browse files
committed
Try to fix cast again
1 parent eb9fdb4 commit 43b71f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_bindings/cuda/bindings/cyruntime.pyx.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1899,7 +1899,7 @@ cdef cudaError_t getLocalRuntimeVersion(int* runtimeVersion) except ?cudaErrorCa
18991899
with gil:
19001900
lib = load_nvidia_dynamic_lib("cudart")
19011901
{{if 'Windows' == platform.system()}}
1902-
handle = lib._handle_uint
1902+
handle = <uintptr_t>lib._handle_uint
19031903
{{else}}
19041904
handle = <void *><uintptr_t>lib._handle_uint
19051905
{{endif}}

0 commit comments

Comments
 (0)