summaryrefslogtreecommitdiffstats
path: root/gcc/c-typeck.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-18 05:02:11 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-18 05:02:11 +0000
commit957d7f20e74ccf453943a7f4eea24731011eac4e (patch)
tree1d7b18f90277cd942b2f5c4f5faa0dec38ebb1d8 /gcc/c-typeck.c
parentf41d88f2586894631ec67ffe6a7e35043a4ff119 (diff)
downloadppe42-gcc-957d7f20e74ccf453943a7f4eea24731011eac4e.tar.gz
ppe42-gcc-957d7f20e74ccf453943a7f4eea24731011eac4e.zip
* c-typeck.c (c_start_case): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36479 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-typeck.c')
-rw-r--r--gcc/c-typeck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 75fb57a6b61..aa5dbaaeae1 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -6786,7 +6786,7 @@ c_start_case (exp)
}
/* Add this new SWITCH_STMT to the stack. */
- cs = (struct c_switch *) xmalloc (sizeof (cs));
+ cs = (struct c_switch *) xmalloc (sizeof (*cs));
cs->switch_stmt = build_stmt (SWITCH_STMT, exp, NULL_TREE, NULL_TREE);
cs->cases = splay_tree_new (case_compare, NULL, NULL);
cs->next = switch_stack;
OpenPOWER on IntegriCloud