diff --git a/src/interfaces.jl b/src/interfaces.jl index 36b4e6a..9cebb55 100644 --- a/src/interfaces.jl +++ b/src/interfaces.jl @@ -168,7 +168,7 @@ function cudss_get(data::CudssData, parameter::String) type = CUDSS_TYPES[parameter] val = Ref{type}() nbytes = sizeof(val) - nbytes_written = Ref{Cint}() + nbytes_written = Ref{Csize_t}() cudssDataGet(handle(), data, parameter, val, nbytes, nbytes_written) return val[] end @@ -178,7 +178,7 @@ function cudss_get(config::CudssConfig, parameter::String) type = CUDSS_TYPES[parameter] val = Ref{type}() nbytes = sizeof(val) - nbytes_written = Ref{Cint}() + nbytes_written = Ref{Csize_t}() cudssConfigGet(config, parameter, val, nbytes, nbytes_written) return val[] end