diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2005-04-18 15:59:49 +0000 |
---|---|---|
committer | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2005-04-18 15:59:49 +0000 |
commit | f66a762344d77b8e4a4d50e68896638a234dc631 (patch) | |
tree | 9b3bf1632a7dd59c788d998b24efa084c9f6ea0a /extra/config/confdata.c | |
parent | 5178925d7b23c6fd5c79d602c9e873cb9ba50ea2 (diff) |
Updated to match Linux 2.6.11.
Diffstat (limited to 'extra/config/confdata.c')
-rw-r--r-- | extra/config/confdata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/config/confdata.c b/extra/config/confdata.c index 56aff3c03..9ecf11032 100644 --- a/extra/config/confdata.c +++ b/extra/config/confdata.c @@ -23,10 +23,10 @@ const char *conf_confnames[] = { NULL, }; -static char *conf_expand_value(const char *in) +static char *conf_expand_value(const signed char *in) { struct symbol *sym; - const char *src; + const signed char *src; static char res_value[SYMBOL_MAXLENGTH]; char *dst, name[SYMBOL_MAXLENGTH]; @@ -287,7 +287,7 @@ int conf_write(const char *name) } else basename = conf_def_filename; - sprintf(newname, "%s.tmpconfig.%d", dirname, getpid()); + sprintf(newname, "%s.tmpconfig.%d", dirname, (int)getpid()); out = fopen(newname, "w"); if (!out) return 1; |