From 7bb2991ccbb157c7bf968b1107e2b7d32c5c44e1 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 15 Jun 2009 10:36:56 +0000 Subject: [PATCH] Fix compiler warning --- panda/src/grutil/sceneGraphAnalyzerMeter.cxx | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/panda/src/grutil/sceneGraphAnalyzerMeter.cxx b/panda/src/grutil/sceneGraphAnalyzerMeter.cxx index dc9531bfa5..2a2f123668 100644 --- a/panda/src/grutil/sceneGraphAnalyzerMeter.cxx +++ b/panda/src/grutil/sceneGraphAnalyzerMeter.cxx @@ -185,20 +185,20 @@ do_update(Thread *current_thread) { static const size_t buffer_size = 1024; char buffer[buffer_size]; - char *pattern = "Nodes: %d\n" - "Instances: %d\n" - "Transforms: %d\n" - "Nodes with Attribs: %d\n" - "GeomNodes: %d\n" - "Geoms: %d\n" - "GeomVertexDatas: %d\n" - "Vertices: %d\n" - "Normals: %d\n" - "TexCoords: %d\n" - "Tris: %d\n" - "Lines: %d\n" - "Points: %d\n" - "Texture memory: %.1f KB\n"; + const char *pattern = "Nodes: %d\n" + "Instances: %d\n" + "Transforms: %d\n" + "Nodes with Attribs: %d\n" + "GeomNodes: %d\n" + "Geoms: %d\n" + "GeomVertexDatas: %d\n" + "Vertices: %d\n" + "Normals: %d\n" + "TexCoords: %d\n" + "Tris: %d\n" + "Lines: %d\n" + "Points: %d\n" + "Texture memory: %.1f KB\n"; #ifdef WIN32_VC _snprintf(buffer, buffer_size, pattern,