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 4) C4245

'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch

You tried to convert a signed const that has a negative value to an unsigned.

Example

const int i = -1;
unsigned int j = i; // warning C4245

const int k = 1;
unsigned int l = k; // okay

int m = -1;
unsigned int n = m; // okay