Skip to content

Commit 3e21558

Browse files
committed
LAGraph_Version: Use char pointer instead of array
Match with declaration in header. Found by GCC 16 (-Warray-paramter).
1 parent 6438ac0 commit 3e21558

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utility/LAGraph_Version.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int LAGraph_Version
3535
(
3636
// output:
3737
int version_number [3], // user-provided array of size 3
38-
char version_date [LAGRAPH_MSG_LEN], // user-provided array
38+
char *version_date, // user-provided array of size >= LAGRAPH_MSG_LEN
3939
char *msg
4040
)
4141
{

0 commit comments

Comments
 (0)