Skip to content

Commit 0eb5ead

Browse files
committed
Remove a few printf specifier warnings from read_table-lib
1 parent 3aaea80 commit 0eb5ead

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

common/lib/share/read_table-lib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ void *Table_File_List_store(t_Table *tab){
428428
s = (float*)data;
429429
dataf = (double*)malloc(sizeof(double)*nelements);
430430
if (!dataf) {
431-
fprintf(stderr, "Could not allocate data block of size %i\n", nelements);
431+
fprintf(stderr, "Could not allocate data block of size %ld\n", nelements);
432432
exit(-1);
433433
}
434434
for (i=0; i<nelements; i++)
@@ -723,7 +723,7 @@ void *Table_File_List_store(t_Table *tab){
723723
}
724724
New_Table = (double*)malloc(Length_Table*Table->columns*sizeof(double));
725725
if (!New_Table) {
726-
fprintf(stderr,"Could not allocate New_Table of size %i x %i\n", Length_Table, Table->columns);
726+
fprintf(stderr,"Could not allocate New_Table of size %ld x %ld\n", Length_Table, Table->columns);
727727
exit(-1);
728728
}
729729
for (i=0; i < Length_Table; i++)

0 commit comments

Comments
 (0)