Skip to content

Commit bef58c833cb26c63fd88a1fb4b70d9879f447b61 introduces warnings that prevent building in MSVS #133

Closed
@kmanc

Description

@kmanc

There are two comparisons between ULONG and LONG in SRV_IDL_DRSBind, which result in C4018 warnings link here.

Based on the default project settings in VS, this prevents you from building the project.

Proposed fix:

  • size changed from ULONG to LONG
  • FIELD_OFFSET(DRS_EXTENSIONS_INT, dwFlagsExt) cast as ULONG

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions