Commit dd96c575 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix implicit type conversion in cdf_create.

parent 9cc63df7
...@@ -56,7 +56,8 @@ void cdf_create(const char *path, int cmode, int *ncidp) ...@@ -56,7 +56,8 @@ void cdf_create(const char *path, int cmode, int *ncidp)
chunksizehint = 16777216; /* 16 MB */ chunksizehint = 16777216; /* 16 MB */
#endif #endif
if ( cdiNcChunksizehint != CDI_UNDEFID ) chunksizehint = cdiNcChunksizehint; if ( cdiNcChunksizehint != CDI_UNDEFID )
chunksizehint = (size_t)cdiNcChunksizehint;
cdi_nc__create_funcp my_nc__create = cdi_nc__create_funcp my_nc__create =
(cdi_nc__create_funcp)namespaceSwitchGet(NSSWITCH_NC__CREATE).func; (cdi_nc__create_funcp)namespaceSwitchGet(NSSWITCH_NC__CREATE).func;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment