diff options
author | Paul Smith <psmith@gnu.org> | 2014-07-07 01:59:03 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2014-07-07 01:59:03 -0400 |
commit | be009b9a889f4c58f69b4fb4bd8f5e98b9700555 (patch) | |
tree | 5e6c7f534a34aa90f3da9b522cfa31ab4181b3d3 /rule.c | |
parent | 2eb63e6e43b290e84a279b24d5fcb13f2ff0cf58 (diff) | |
download | make-be009b9a889f4c58f69b4fb4bd8f5e98b9700555.tar.gz |
* maintMakefile, various: Improve constification of the codebase.
Diffstat (limited to 'rule.c')
-rw-r--r-- | rule.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -357,7 +357,7 @@ void install_pattern_rule (struct pspec *p, int terminal) { struct rule *r; - char *ptr; + const char *ptr; r = xmalloc (sizeof (struct rule)); @@ -373,7 +373,7 @@ install_pattern_rule (struct pspec *p, int terminal) ++r->suffixes[0]; ptr = p->dep; - r->deps = PARSE_SIMPLE_SEQ (&ptr, struct dep); + r->deps = PARSE_SIMPLE_SEQ ((char **)&ptr, struct dep); if (new_pattern_rule (r, 0)) { |