diff config.c @ 1140:4490c9c12272

Detect system type from filename if header based methods fail. Allow overriding system type from command line.
author Michael Pavone <pavone@retrodev.com>
date Mon, 02 Jan 2017 21:46:26 -0800
parents 540cc4a7d626
children 369da70ee2c2
line wrap: on
line diff
--- a/config.c	Mon Jan 02 16:33:03 2017 -0800
+++ b/config.c	Mon Jan 02 21:46:26 2017 -0800
@@ -116,7 +116,7 @@
 
 tern_node *parse_bundled_config(char *config_name)
 {
-	long confsize;
+	uint32_t confsize;
 	char *confdata = read_bundled_file(config_name, &confsize);
 	tern_node *ret = NULL;
 	if (confdata) {