Windows: fs.c requires size_t len not int len

Missed one case of an 'int len' being passed into StringCbLength.

Also, remove one instance of 'int len' that was not used at all.

LICENSE MIT

Change-Id: I457d4ae98adf9d4ca0c1b7dcb74470d9bbc85a54
Reviewed-on: http://gerrit.openafs.org/1929
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2010-05-08 22:41:39 -04:00 committed by Jeffrey Altman
parent fd9ab5cb7c
commit 13ebb6412b

View File

@ -1739,7 +1739,7 @@ ExamineCmd(struct cmd_syndesc *as, void *arock)
int error = 0;
int literal = 0;
cm_ioctlQueryOptions_t options;
int len;
size_t len;
if (as->parms[1].items)
literal = 1;
@ -2970,7 +2970,6 @@ NewCellCmd(struct cmd_syndesc *as, void *arock)
struct hostent *thp;
afs_int32 fsport = 0, vlport = 0;
errno_t err;
int len;
size_t destRemaining;
memset(space, 0, AFS_MAXHOSTS * sizeof(afs_int32));