@@ -54,7 +54,7 @@ int main (int argc, char ** argv){
5454 if (end1 == 0 || end2 == 0 ){
5555 printf ("values for source and sink are incorrect.\n" );
5656 }
57- printf ("Starting max flow from %ld to %ld \n" , S , T );
57+ printf ("Starting max flow from %" PRIu64 " to %" PRIu64 " \n" , S , T );
5858
5959 // LG_SET_BURBLE(1);
6060 double time = LAGraph_WallClockTime ();
@@ -63,14 +63,15 @@ int main (int argc, char ** argv){
6363 printf ("Time for LAGraph_MaxFlow: %g sec\n" , time );
6464 printf ("Max Flow is: %lf\n" , flow );
6565
66- printf ("Starting max flow from %ld to %ld, with flow_matrix returned\n" , S , T );
66+ printf ("Starting max flow from %" PRIu64 " to %" PRIu64
67+ ", with flow_matrix returned\n" , S , T );
6768 time = LAGraph_WallClockTime ();
6869 LAGRAPH_TRY (LAGr_MaxFlow (& flow , & flow_matrix , G , S , T , msg ));
6970 time = LAGraph_WallClockTime () - time ;
7071 printf ("Time for LAGraph_MaxFlow with flow matrix: %g sec\n" , time );
7172 printf ("Max Flow is: %lf\n" , flow );
7273 GRB_TRY (GrB_Matrix_nvals (& nflow , flow_matrix )) ;
73- printf ("# of entries in flow matrix: %lu \n" , nflow );
74+ printf ("# of entries in flow matrix: %" PRIu64 " \n" , nflow );
7475
7576 LAGraph_Delete (& G , msg );
7677 GrB_free (& flow_matrix ) ;
0 commit comments