Skip to content

Commit 314c9e1

Browse files
Merge pull request #290 from GraphBLAS/with_GraphBLAS_v10
printf format in edge BC benchmark
2 parents 71818b2 + a3c5ca9 commit 314c9e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

experimental/benchmark/edgeBetweennessCentrality_demo.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ int main (int argc, char **argv)
8787
int num_sources = atoi(argv[2]);
8888
if (num_sources <= 0 || num_sources > n-1)
8989
{
90-
printf("Error: Number of sources must be between 1 and %lu\n", n-1);
91-
printf("Hint: If you want the exact EBC (you called 0 or %lu), ", n);
90+
printf("Error: Number of sources must be between 1 and %" PRIu64 "\n", n-1);
91+
printf("Hint: If you want the exact EBC (you called 0 or %" PRIu64 "), ", n);
9292
printf("then call the demo with just the matrix file.\n");
9393
LG_FREE_ALL;
9494
return (GrB_INVALID_VALUE);
@@ -170,4 +170,4 @@ int main (int argc, char **argv)
170170
LAGraph_Delete (&G, msg);
171171
LAGRAPH_TRY (LAGraph_Finalize (msg));
172172
return (GrB_SUCCESS);
173-
}
173+
}

0 commit comments

Comments
 (0)