Bug 3498 - libmsrpc/cac_samr.c: uint32 i
Summary: libmsrpc/cac_samr.c: uint32 i
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.21b
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 13:47 UTC by Jason Mader (mail bounces back)
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 (mail bounces back) 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.