Bug 12625 - ndr_netlogon.c
ndr_netlogon.c
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build
4.6.0
x64 Mac OS X
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
: 12651 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-10 10:18 UTC by Ruga
Modified: 2017-06-29 07:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruga 2017-03-10 10:18:48 UTC
[1141/3257] Compiling librpc/ndr/ndr_netlogon.c
../librpc/ndr/ndr_netlogon.c:29:8: warning: comparison of constant 255 with expression of type 'enum netr_SamDatabaseID' is always false [-Wtautological-constant-out-of-range-compare]
        if (r > 0xff) return NDR_ERR_BUFSIZE;
            ~ ^ ~~~~
../librpc/ndr/ndr_netlogon.c:49:8: warning: comparison of constant 255 with expression of type 'enum netr_DeltaEnum' is always false [-Wtautological-constant-out-of-range-compare]
        if (r > 0xff) return NDR_ERR_BUFSIZE;
            ~ ^ ~~~~
Comment 1 Andrew Bartlett 2017-06-29 07:09:53 UTC
*** Bug 12651 has been marked as a duplicate of this bug. ***