#1211 Remove one warning with Sun C use UINT_MAX instead of -1

v0.9-branch
closed-accepted
nobody
None
5
2011-11-01
2011-10-31
Cary R.
No

This patch switches from using -1 to UINT_MAX to initialize an unsigned to its maximum value. The Sun C compiler prints a warning when -1 is used.

This patch is for both development and V0.9. There are no test suite changes.

Discussion

  • Stephen Williams

    • milestone: 530241 --> v0.9-branch
    • status: open --> open-accepted
     
  • Stephen Williams

    Applied to git master.

     
  • Stephen Williams

    • status: open-accepted --> closed-accepted
     
  • Stephen Williams

    Applied to git v0_9-branch.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks