Tiny problem with irrlicht that creates a warning?

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Thomas_
Posts: 34
Joined: Mon May 08, 2006 1:51 am
Location: Corvallis/Eugene, Oregon

Tiny problem with irrlicht that creates a warning?

Post by Thomas_ »

I've been working to get rid of the last few warnings from my program and found one that seems to be caused by irrlicht, I thought I'd mention it in case anyone else agrees with me.

line 695 in irrString.h:
for (s32 i=0; i<used-len; ++i)

that line is giving me a unsigned and signed integer comparison warning (i'm using mingw) and it looks to me like there is no reason that "i" should be a signed integer, so I changed it to:

for (u32 i=0; i<used-len; ++i)

...and everything works just the same but does not give the error anymore.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, you're right. It was fixed in SVN/trunk, but I guess we can also fix it in the 1.4 releases.
Post Reply