summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-01-02 21:46:26 -0800
committerMichael Pavone <pavone@retrodev.com>2017-01-02 21:46:26 -0800
commitf6ab2dad74b981bd9e222f771a62cad34ae35c34 (patch)
treed1bf83a75fdea30abe5bef8eb9b0c2869795bdc2 /config.c
parent7d1a9bbb9b343e128cbfbc3567ab329f22edbd5a (diff)
Detect system type from filename if header based methods fail. Allow overriding system type from command line.
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 9930b73..bf8c5e0 100644
--- a/config.c
+++ b/config.c
@@ -116,7 +116,7 @@ open_fail:
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) {