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.
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.