diff simtool/stktest.c @ 141:a1aa8ee2da85

read_hex_data_file(): add maxlen argument
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 24 Feb 2021 17:25:28 +0000
parents 277c66de296f
children 60411fd4b803
line wrap: on
line diff
--- a/simtool/stktest.c	Wed Feb 24 17:16:04 2021 +0000
+++ b/simtool/stktest.c	Wed Feb 24 17:25:28 2021 +0000
@@ -39,7 +39,7 @@
 	int rc;
 	unsigned len;
 
-	rc = read_hex_data_file(argv[1], cmd + 5);
+	rc = read_hex_data_file(argv[1], cmd + 5, 255);
 	if (rc < 0)
 		return(rc);
 	len = rc;