$NetBSD: patch-ar,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $ --- yatd/apop.c.orig Mon Jun 4 15:43:51 2001 +++ yatd/apop.c @@ -43,7 +43,7 @@ char szApopFile[MAXPATHLEN], szBuf[MAXLINELEN]; FILE *fp; char *p; - int nLen; + size_t nLen; sprintf(szApopFile, "%.512s/%.64s", SysData.pUserHomeDir, YATAPOPFILE); @@ -56,7 +56,7 @@ GOTO LBL_ERROR; if ((p = strchr(szBuf, '\n')) != NULL) *p = '\0'; - Base64DecodeLine(pszSecret, (size_t *)&nLen, szBuf); + Base64DecodeLine(pszSecret, &nLen, szBuf); fclose(fp); return SUCCESS;