diff options
author | Herb Lewis <herb@samba.org> | 2002-08-20 12:38:43 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-08-20 12:38:43 +0000 |
commit | a08427ea6efafd378e8cf207277b00a86ffd4bdd (patch) | |
tree | 0637c5d0eaa10d9333a6b111af5dceff3f8ca497 /source3/libsmb | |
parent | 42045afda9853351af14a95d711ebbb64e532330 (diff) | |
download | samba-a08427ea6efafd378e8cf207277b00a86ffd4bdd.tar.gz samba-a08427ea6efafd378e8cf207277b00a86ffd4bdd.tar.bz2 samba-a08427ea6efafd378e8cf207277b00a86ffd4bdd.zip |
cannot use casts in the DLIST_xxx macros
(This used to be commit c9ffc416aeee2610fdc896a9d41dac182039a5f9)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/libsmb_cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmb_cache.c b/source3/libsmb/libsmb_cache.c index 34b818ee74..df02cf3718 100644 --- a/source3/libsmb/libsmb_cache.c +++ b/source3/libsmb/libsmb_cache.c @@ -89,7 +89,7 @@ static int smbc_add_cached_server(SMBCCTX * context, SMBCSRV * new, goto failed; } - DLIST_ADD(((struct smbc_server_cache *)context->server_cache), srvcache); + DLIST_ADD((context->server_cache), srvcache); return 0; failed: @@ -139,7 +139,7 @@ static int smbc_remove_cached_server(SMBCCTX * context, SMBCSRV * server) if (server == srv->server) { /* remove this sucker */ - DLIST_REMOVE(((struct smbc_server_cache *)context->server_cache), srv); + DLIST_REMOVE(context->server_cache, srv); SAFE_FREE(srv->server_name); SAFE_FREE(srv->share_name); SAFE_FREE(srv->workgroup); |