mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-25 06:31:45 +02:00
Fixed warning with Clang
This commit is contained in:
parent
47c4ee7d01
commit
233edeeae2
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user