NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 3) C4018

'expression' : signed/unsigned mismatch

Comparing a signed and unsigned number required the compiler to convert the signed value to unsigned.

Possible solution

The following sample generates C4018:

void main() {
   unsigned int uc = 0;
   int c = 0;
   // try..
   // unsigned int c = 0;

   if (uc == c)   // C4018
      uc = 0;
}