]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
fix compile warning
authorMarc Horowitz <marc@mit.edu>
Sat, 22 Aug 1998 03:52:00 +0000 (03:52 +0000)
committerMarc Horowitz <marc@mit.edu>
Sat, 22 Aug 1998 03:52:00 +0000 (03:52 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10867 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v4server/acl_files.c

index 853954f77d730246c0c4c60f96b796ad5f9218d0..f7c1509eb203369c3de10b6dabf675ea6d1d815e 100644 (file)
@@ -329,7 +329,7 @@ char *el;
 
     hv = hashval(el) % h->size;
     while(h->tbl[hv] != NULL && strcmp(h->tbl[hv], el)) hv = (hv+1) % h->size;
-    s = malloc(strlen(el)+1);
+    s = (char *) malloc(strlen(el)+1);
     strcpy(s, el);
     h->tbl[hv] = s;
     h->entries++;