some more const-ness

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3656 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-10-21 21:15:49 +00:00
parent d20b230393
commit 09b8eca4f6
3 changed files with 5 additions and 5 deletions

View File

@@ -111,13 +111,13 @@ static int unpack_cred(unsigned char *buf, int len, CREDENTIALS *cred);
static int
Data(Authenticator *ap, int type, void *d, int c)
Data(Authenticator *ap, int type, const void *d, int c)
{
unsigned char *p = str_data + 4;
unsigned char *cd = (unsigned char *)d;
const unsigned char *cd = (const unsigned char *)d;
if (c == -1)
c = strlen((char *)cd);
c = strlen((const char *)cd);
if (auth_debug_mode) {
printf("%s:%d: [%d] (%d)",