summaryrefslogtreecommitdiff
path: root/src/mark.c
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2012-01-18 00:02:37 +0100
committerAmadeusz Sławiński <amade@asmblr.net>2015-06-25 15:54:32 +0200
commit0dbcbb616bebb940b2dd1d3b3bb3502325f612df (patch)
tree7f9c9c6250f8d1b79b2d4a326b97fd5132db46da /src/mark.c
parente888ee0799ed2a93b1e78fad4f768ffd9bf4c161 (diff)
downloadscreen-0dbcbb616bebb940b2dd1d3b3bb3502325f612df.tar.gz
xrealloc returns void* and remove all *allocs casts
Diffstat (limited to 'src/mark.c')
-rw-r--r--src/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index c414d5a..e090596 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -447,7 +447,7 @@ GetHistory() /* return value 1 if copybuffer changed */
return 0;
if (D_user->u_plop.buf)
UserFreeCopyBuffer(D_user);
- if ((D_user->u_plop.buf = (char *)malloc((unsigned) (i - x + 2))) == NULL)
+ if ((D_user->u_plop.buf = malloc((unsigned) (i - x + 2))) == NULL)
{
LMsg(0, "Not enough memory... Sorry.");
return 0;