diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2012-01-18 00:02:37 +0100 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2015-06-25 15:54:32 +0200 |
commit | 0dbcbb616bebb940b2dd1d3b3bb3502325f612df (patch) | |
tree | 7f9c9c6250f8d1b79b2d4a326b97fd5132db46da /src/mark.c | |
parent | e888ee0799ed2a93b1e78fad4f768ffd9bf4c161 (diff) | |
download | screen-0dbcbb616bebb940b2dd1d3b3bb3502325f612df.tar.gz |
xrealloc returns void* and remove all *allocs casts
Diffstat (limited to 'src/mark.c')
-rw-r--r-- | src/mark.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |