mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
avoid noisy errors on win32
This commit is contained in:
parent
5f2d0db993
commit
cd394f304d
@ -90,7 +90,9 @@ run() {
|
|||||||
string table_type = "const unsigned char ";
|
string table_type = "const unsigned char ";
|
||||||
string length_type = "const int ";
|
string length_type = "const int ";
|
||||||
if (_for_string) {
|
if (_for_string) {
|
||||||
table_type = "const char ";
|
// Actually, declaring the table as "const char" causes VC7 to
|
||||||
|
// yell about truncating all of the values >= 0x80.
|
||||||
|
// table_type = "const char ";
|
||||||
length_type = "const size_t ";
|
length_type = "const size_t ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user