Compiler Warning (level 2) C4309
'conversion' : truncation of constant value
The type conversion causes a constant to exceed the space allocated for it. You may need to use a larger type for the constant.
The following sample generates C4309:
// C4309.cpp
// compile with: /W2
int main()
{
char c = 128; // C4309
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for