amagnasco / xwpe

Upload of an abandoned ncurses-based programming environment
http://www.identicalsoftware.com/xwpe/
GNU General Public License v2.0
31 stars 7 forks source link

started solving warnings, mainly signedness warnings. #48

Closed gbonnema closed 7 years ago

gbonnema commented 7 years ago

Mostly signedness warnings. Solved by recasting, mainly.

Some exceptions:

The next batch will be redefining some #define CONST 10 to extern const unsigned int CONST plus a definition in a c file.

EDIT: No it won't. C doesn't allow variable constants to be used as a constant expression. You learn a little every day. For now I will stay with the defines as they appear to be the way to go in C.