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:
parent
3613a75914
commit
f8885dbad0
7 changed files with 11 additions and 9 deletions
|
|
@ -429,7 +429,7 @@ static int referral_resolve(
|
|||
AcquireSRWLockExclusive(&path_out->lock);
|
||||
abs_path_copy(path_out, &location->path);
|
||||
StringCchCatA(path_out->path, NFS41_MAX_PATH_LEN, rest_of_path);
|
||||
path_out->len += (unsigned short)strlen(rest_of_path);
|
||||
path_out->len = path_out->len + (unsigned short)strlen(rest_of_path);
|
||||
ReleaseSRWLockExclusive(&path_out->lock);
|
||||
|
||||
if (session_out) *session_out = client->session;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue