fix types in format string

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5498 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-11 13:49:03 +00:00
parent 0abbad84ce
commit 816f001811
2 changed files with 3 additions and 3 deletions

View File

@@ -537,8 +537,8 @@ auth_name(unsigned char *data, int cnt)
}
if (cnt > sizeof(savename) - 1) {
if (auth_debug_mode)
printf(">>>%s: Name in NAME (%d) exceeds %d length\r\n",
Name, cnt, sizeof(savename)-1);
printf(">>>%s: Name in NAME (%d) exceeds %lu length\r\n",
Name, cnt, (unsigned long)(sizeof(savename)-1));
return;
}
memmove(savename, data, cnt);

View File

@@ -2341,7 +2341,7 @@ tn(int argc, char **argv)
return 0;
}
#define HELPINDENT (sizeof ("connect"))
#define HELPINDENT ((int)sizeof ("connect"))
static char
openhelp[] = "connect to a site",