Bug 3804 - passdb/secrets.c: An unsigned integer is being compared to zero
Summary: passdb/secrets.c: An unsigned integer is being compared to zero
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.23
Hardware: SGI IRIX
: P3 minor
Target Milestone: none
Assignee: Tim Potter
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-25 09:02 UTC by Jason Mader (mail bounces back)
Modified: 2006-05-25 10:44 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-05-25 09:02:12 UTC
cc-1183 c99: WARNING File = passdb/secrets.c, Line = 407
  An unsigned integer is being compared to zero.

        if (push_ucs2_allocate(&uni_dom_name, domain) < 0) {
                                                      ^

cc-1183 c99: WARNING File = passdb/secrets.c, Line = 738
  An unsigned integer is being compared to zero.

                                     pass.uni_name) < 0) {
                                                    ^
Comment 1 Jeremy Allison 2006-05-25 10:44:51 UTC
Fixed thanks !
Jeremy.