Made things compile under SunOS4 again.

Fix lots of warnings under SunOS4.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1201 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1997-01-27 14:08:08 +00:00
parent aeaef3368f
commit e60914acca
8 changed files with 25 additions and 13 deletions

View File

@@ -135,7 +135,7 @@ sl_loop (SL_cmd *cmds, char *prompt)
ptr = malloc(max_count * sizeof(*ptr));
if (ptr == NULL) {
printf ("sl_loop: failed to allocate %u bytes of memory\n",
max_count * sizeof(*ptr));
(int) max_count * sizeof(*ptr));
return -1;
}
@@ -164,7 +164,7 @@ sl_loop (SL_cmd *cmds, char *prompt)
if (ptr == NULL) {
printf ("sl_loop: failed to allocate %u "
"bytes of memory\n",
max_count * sizeof(*ptr));
(int) max_count * sizeof(*ptr));
return -1;
}
}