1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-22 18:57:40 +02:00

Fixed warning with Clang

This commit is contained in:
Anthony Scemama 2023-09-26 16:10:37 +02:00
parent 233edeeae2
commit 1dc1c0f192

View File

@ -794,7 +794,7 @@ qmckl_set_jastrow_champ_c_vector(qmckl_context context,
if (size_max < dim_c_vector*type_nucl_num) {
char msg[256];
sprintf(msg, "Array too small. Expected dim_c_vector*type_nucl_num = %lld",
sprintf(msg, "Array too small. Expected dim_c_vector*type_nucl_num = %ld", (long)
dim_c_vector*type_nucl_num );
return qmckl_failwith( context,
QMCKL_INVALID_ARG_3,