about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTAAProt.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTAAProt.c')
-rw-r--r--WWW/Library/Implementation/HTAAProt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTAAProt.c b/WWW/Library/Implementation/HTAAProt.c
index 7a607e66..d845ca02 100644
--- a/WWW/Library/Implementation/HTAAProt.c
+++ b/WWW/Library/Implementation/HTAAProt.c
@@ -601,7 +601,7 @@ PRIVATE void clear_uidgid_cache NOARGS
 
 PRIVATE void save_gid_info ARGS2(char *, name, int, user)
 {
-    USER_DATA *data = calloc(1, sizeof(USER_DATA));
+    USER_DATA *data = (USER_DATA *)calloc(1, sizeof(USER_DATA));
     if (!data)
 	return;
     if (!known_grp) {
@@ -620,7 +620,7 @@ PRIVATE void save_gid_info ARGS2(char *, name, int, user)
 
 PRIVATE void save_uid_info ARGS2(char *, name, int, user)
 {
-    USER_DATA *data = calloc(1, sizeof(USER_DATA));
+    USER_DATA *data = (USER_DATA *)calloc(1, sizeof(USER_DATA));
     if (!data)
 	return;
     if (!known_pwd) {