Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
ecd0efd1
Commit
ecd0efd1
authored
Feb 01, 2007
by
Michael Beck
Browse files
fixed missing sizeof ...
[r8580]
parent
b0aca079
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/adt/plist.c
View file @
ecd0efd1
...
...
@@ -37,7 +37,7 @@ static plist_element_t *allocate_element(plist_t* list) {
}
plist_t
*
plist_new
(
void
)
{
plist_t
*
list
=
xmalloc
(
sizeof
(
*
list
));
plist_t
*
list
=
xmalloc
(
sizeof
(
*
list
)
+
sizeof
(
*
list
->
obst
)
);
list
->
obst
=
(
struct
obstack
*
)
&
list
[
1
];
list
->
foreign_obstack
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment