Bug 3498 - libmsrpc/cac_samr.c: uint32 i
libmsrpc/cac_samr.c: uint32 i
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Build environment
3.0.21b
SGI IRIX
: P3 normal
: none
Assigned To: Tim Potter
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-10 13:47 UTC by Jason Mader
Modified: 2006-02-13 07:37 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 Jason Mader 2006-02-10 13:47:41 UTC
cc-1183 cc: WARNING File = libmsrpc/cac_samr.c, Line = 935
  An unsigned integer is being compared to zero.

        for(i -= 1; i >= 0 && NT_STATUS_IS_OK(status); i--) {
                      ^

cc-1183 cc: WARNING File = libmsrpc/cac_samr.c, Line = 1432
  An unsigned integer is being compared to zero.

        for(i -= 1; i >= 0 && NT_STATUS_IS_OK(status); i--) {
                      ^
Comment 1 Jeremy Allison 2006-02-13 07:37:05 UTC
Fixed by changing type of i from uint32 to int.
Thanks !
Jeremy.