warnings from WDK 6000

fixed a few cases of warning 4242: possible loss of data

wincrypt.h appears to come with windows.h in later versions of the ddk, but nfs41_client.c fails to compile in WDK 6001 without #include <wincrypt.h>

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2010-10-18 11:09:27 -04:00 committed by unknown
parent 3613a75914
commit f8885dbad0
7 changed files with 11 additions and 9 deletions

View file

@ -368,7 +368,7 @@ int handle_open(nfs41_upcall *upcall)
status = nfs41_create(state->session, NF4DIR, args->mode,
NULL, &state->parent, &state->file);
args->std_info.Directory = 1;
args->created = status == NFS4_OK;
args->created = status == NFS4_OK ? TRUE : FALSE;
} else {
status = nfs41_open(state->session, allow, deny, create,
args->mode, state, &info);