Jump to content
  • 0
Sign in to follow this  
GmOcean

warning C4018: '<' : signed/unsigned mismatch

Question

Okay, so when I made this command in script.c originally, it worked fine. In fact, it's just a clone of another command except for a few things.

This particular warning/error i'm receiving is part of the cloned code.

While in script.c there is no error, the command works perfectly fine. However when copy+pasting the code to plugin system. This is the warning/errors I am forced to face:

warning C4018: '<' : signed/unsigned mismatchwarning C4018: '>' : signed/unsigned mismatch

Now, I managed to solve this by simply changing int to int16. But, in script.c it's just a normal int. 

 

Is there a reason that the plugin system picks this up but not the main files when I compile it? Also, I'm compiling in Debug mode so this should be seen. Even when compiling in release mode this isn't found.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.