mirror of
https://github.com/winfsp/winfsp.git
synced 2026-11-02 07:06:04 -06:00
dll: suppress compiler warning on x86 builds
This commit is contained in:
1 parent
0e2f46dc90
commit
913f7ac9cd
1 file changed
+1
-1
+1
-1
@@ -161,7 +161,7 @@ static inline BOOLEAN FspNpParseUserName(PWSTR RemoteName,
|
||||
&ClassName, &ClassNameLen, &InstanceName, &InstanceNameLen))
|
||||
{
|
||||
for (P = InstanceName; *P; P++)
|
||||
if ('@' == *P && P - InstanceName < UserNameSize)
|
||||
if ('@' == *P && (ULONG)(P - InstanceName) < UserNameSize)
|
||||
{
|
||||
memcpy(UserName, InstanceName, (P - InstanceName) * sizeof(WCHAR));
|
||||
UserName[P - InstanceName] = L'\0';
|
||||
|
||||
Reference in new issue
Block a user