You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem file is phlib/lsa.c strings 148 and 180 found in commit 921dbc9:
strings 148:
- PhStringRefToUnicodeString(PrivilegeName, &privilegeName); /* old version this string - no problem */
+ if (!PhStringRefToUnicodeString(PrivilegeName, &privilegeName)) /* added if ... and have problem */
+ return STATUS_NAME_TOO_LONG;
and VS2015 write to log:
1> lsa.c (149): error C2220: warning treated as error - "object" file is created
1> lsa.c (149): warning C4305: return: truncated from "NTSTATUS" to "BOOLEAN"
1> lsa.c (181): warning C4305: return: truncated from "NTSTATUS" to "BOOLEAN"
2> .. \ phlib\lsa.c (149): error C2220: warning treated as error - "object" file is created
2> .. \ phlib\lsa.c (149): warning C4305: return: truncated from "NTSTATUS" to "BOOLEAN"
2> .. \ phlib\lsa.c (181): warning C4305: return: truncated from "NTSTATUS" to "BOOLEAN"
========== Build: successfully: 0, with errors: 4, without changes: 0, conceded: 1 ==========
P.S.
Lines in phlib/lsa.c 148 and 180 caused the build fails before the compiler began processing phlib/native.c where there is a similar syntax in the line 6002, and therefore it is in theory should lead to the generation error C2220 and warning C4305 with followed by the failure of assembly...
The text was updated successfully, but these errors were encountered:
Problem file is phlib/lsa.c strings 148 and 180 found in commit 921dbc9:
strings 148:
and VS2015 write to log:
P.S.
Lines in phlib/lsa.c 148 and 180 caused the build fails before the compiler began processing phlib/native.c where there is a similar syntax in the line 6002, and therefore it is in theory should lead to the generation error C2220 and warning C4305 with followed by the failure of assembly...
The text was updated successfully, but these errors were encountered: