summaryrefslogtreecommitdiffstats
path: root/source/smbd/error.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-12-27 06:34:48 +0000
committerJeremy Allison <jra@samba.org>2001-12-27 06:34:48 +0000
commitd222a01e0f046883a602cc4591a400b8e65ef6b5 (patch)
treefc194966bc8770ad07d52ea8343bb73638f0f387 /source/smbd/error.c
parent26e4c4099c61c7ba9f2153e56061bea9882553d9 (diff)
downloadsamba-d222a01e0f046883a602cc4591a400b8e65ef6b5.tar.gz
samba-d222a01e0f046883a602cc4591a400b8e65ef6b5.tar.xz
samba-d222a01e0f046883a602cc4591a400b8e65ef6b5.zip
Removed spurious (char *) casts in SAFE_FREE calls.
Jeremy.
Diffstat (limited to 'source/smbd/error.c')
-rw-r--r--source/smbd/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/error.c b/source/smbd/error.c
index 78425fafc66..d5d6d644e78 100644
--- a/source/smbd/error.c
+++ b/source/smbd/error.c
@@ -37,7 +37,7 @@ int cached_error_packet(char *outbuf,files_struct *fsp,int line,const char *file
int32 err = wbmpx->wr_error;
/* We can now delete the auxiliary struct */
- SAFE_FREE((char *)wbmpx);
+ SAFE_FREE(wbmpx);
return error_packet(outbuf,NT_STATUS_OK,eclass,err,line,file);
}