projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
be_lower_for_target is now a simple function in the public API
[libfirm]
/
ir
/
adt
/
xmalloc.c
diff --git
a/ir/adt/xmalloc.c
b/ir/adt/xmalloc.c
index
de5ab71
..
9e547c7
100644
(file)
--- a/
ir/adt/xmalloc.c
+++ b/
ir/adt/xmalloc.c
@@
-59,5
+59,5
@@
void *xrealloc(void *ptr, size_t size)
char *xstrdup(const char *str)
{
size_t len = strlen (str) + 1;
- return
memcpy((xmalloc)
(len), str, len);
+ return
(char*) memcpy(xmalloc
(len), str, len);
}