summaryrefslogtreecommitdiffstats
path: root/source/web
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-03-31 05:06:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:24 -0500
commit994694f7f26da5099f071e1381271a70407f33bb (patch)
tree5575bb9592285b16cf5f51493c9f035f96a1e893 /source/web
parent989fcb4c084c63f1e3b114af68ef5bc0a2fbc09e (diff)
downloadsamba-994694f7f26da5099f071e1381271a70407f33bb.tar.gz
samba-994694f7f26da5099f071e1381271a70407f33bb.tar.xz
samba-994694f7f26da5099f071e1381271a70407f33bb.zip
r6149: Fixes bugs #2498 and 2484.
1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task.
Diffstat (limited to 'source/web')
-rw-r--r--source/web/neg_lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/web/neg_lang.c b/source/web/neg_lang.c
index ca671822d87..cc2924afde6 100644
--- a/source/web/neg_lang.c
+++ b/source/web/neg_lang.c
@@ -54,8 +54,8 @@ struct pri_list {
};
static int qsort_cmp_list(const void *x, const void *y) {
- struct pri_list *a = (struct pri_list *)x;
- struct pri_list *b = (struct pri_list *)y;
+ struct pri_list *a = CONST_DISCARD(struct pri_list *, x);
+ struct pri_list *b = CONST_DISCARD(struct pri_list *, y);
if (a->pri > b->pri) return -1;
if (a->pri == b->pri) return 0;
return 1;