1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-22 20:36:01 +01:00

Fixed warning with Clang

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

View File

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