|
-
Jun 2nd, 2011, 01:54 PM
#1
Thread Starter
Fanatic Member
Underline <
I got error for the "<" in the code
else if(gObj[aIndex].Money < Price)
warning C4018: '<' : signed/unsigned mismatch
-
Jun 3rd, 2011, 01:24 AM
#2
Re: Underline <
that basically means that you are comparing a signed value to an unsigned value. You need to match the "signedness", ie make the unsigned variable signed or vice versa.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|