From cd394f304dfebb83d842b8521576cb89051c2789 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 26 Nov 2004 20:35:43 +0000 Subject: [PATCH] avoid noisy errors on win32 --- pandatool/src/miscprogs/binToC.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandatool/src/miscprogs/binToC.cxx b/pandatool/src/miscprogs/binToC.cxx index 4e8a09c138..7faa516c5a 100644 --- a/pandatool/src/miscprogs/binToC.cxx +++ b/pandatool/src/miscprogs/binToC.cxx @@ -90,7 +90,9 @@ run() { string table_type = "const unsigned char "; string length_type = "const int "; 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 "; }