summaryrefslogtreecommitdiff
path: root/src/program.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-12-25 17:52:42 -0500
committerAdrian Thurston <thurston@complang.org>2014-12-25 17:52:42 -0500
commitc2049c9de73d3416a1d0f3a51f8fa04be65be6c8 (patch)
treed94fbc6d385ab0e2781085c2ad712ec040b020b6 /src/program.c
parente9a6e75710c42ab1a80c3cf54c5131e2bc4329e1 (diff)
downloadcolm-c2049c9de73d3416a1d0f3a51f8fa04be65be6c8.tar.gz
some function renaming, global is now struct type
Diffstat (limited to 'src/program.c')
-rw-r--r--src/program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/program.c b/src/program.c
index d2e3096a..194c8976 100644
--- a/src/program.c
+++ b/src/program.c
@@ -21,7 +21,7 @@
static void colm_alloc_global( Program *prg )
{
/* Alloc the global. */
- prg->global = (Tree*) colm_new_struct( prg, prg->rtd->globalId ) ;
+ prg->global = colm_new_struct( prg, prg->rtd->globalId ) ;
}
static void colm_clear_global( Program *prg, Tree **sp )