uint [was: [cvs] base64.h ... ]

David Relson relson at osagesoftware.com
Sat Jan 24 20:28:46 CET 2004


On Tue, 20 Jan 2004 07:48:04 -0800
m-a at users.sourceforge.net wrote:

> Update of /cvsroot/bogofilter/bogofilter/src
> In directory sc8-pr-cvs1:/tmp/cvs-serv25515/src
> 
> Modified Files:
> 	base64.h buff.h globals.h mime.h qp.h word.h 
> Log Message:
> uint -> unsigned int in headers (portability).

Matthias,

I just noticed this change and don't like it! 

Using "uint" allows declarations to line up and makes them easier to
read.  Using "unsigned int" messes this up.  

"uint" has been fine for the last 18 months, why change now?  What
platform(s) have trouble with uint?  I don't like "dumbing down" our
code and making it hard to read in order to accommodate an unusual
platform.

For platforms that don't have uint, we can create an appropriate
typedef.  

David




More information about the bogofilter-dev mailing list