[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
warning when compiling servers/slapd/acl.c (ITS#1414)
Full_Name: Peter Marschall
Version: 2.0.18
OS: Linux 2.4.x
URL:
Submission from: (NULL) (194.145.150.12)
When compiling servers/slapd/acl.c in linux, gcc raises a warning
about a wrong type
The follwing patch (to be applied with patch -l) fixes the problem
--- servers/slapd/acl.c
+++ servers/slapd/acl.c Fri Oct 19 16:20:19 2001
@@ -1296,7 +1296,7 @@
char *grpat;
ObjectClass *grp_oc = NULL;
AttributeDescription *grp_ad = NULL;
- char *text;
+ const char *text;
int rc;
/* format of string is "group/objectClassValue/groupAttrName" */