summaryrefslogtreecommitdiff
path: root/xfindproxy.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-02 22:47:06 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-08-02 22:47:06 -0700
commit514d1326a2f89bdd5de9616cabc334bc6e39b7dc (patch)
tree3b4712452b042bc26b4f9e3e047457f6d84a58f9 /xfindproxy.c
parente7cc00f1f390f2516b077fd1286e798351094fc9 (diff)
Stop casting malloc return values
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xfindproxy.c')
-rw-r--r--xfindproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfindproxy.c b/xfindproxy.c
index d2ea0e8..3541cec 100644
--- a/xfindproxy.c
+++ b/xfindproxy.c
@@ -93,7 +93,7 @@ cvthexkey(char *hexstr, char **ptrp) /* turn hex key string into octets */
/* now we know that the input is good */
len >>= 1;
- retval = (char *) malloc (len);
+ retval = malloc (len);
if (!retval)
return -1;