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
}
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ