Bug 5399 - clireadwrite.c: unsigned integer is being compared to 0
Summary: clireadwrite.c: unsigned integer is being compared to 0
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.2
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.2.0
Hardware: SGI IRIX
: P3 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 11:14 UTC by Jason Mader (mail bounces back)
Modified: 2008-04-19 10:05 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) 2008-04-17 11:14:54 UTC
In Samba 3.2.0pre2
--- libsmb/clireadwrite.o ---
cc-1183 c99: WARNING File = libsmb/clireadwrite.c, Line = 145
  An unsigned integer is being compared to zero.

                } else if (size2 < 0) {
                                 ^
Comment 1 Volker Lendecke 2008-04-19 10:05:59 UTC
Fixed with 36740f495, thanks!

Volker