From 4a2a85bedcb9908d3e4fcefb2c3611a4096832a7 Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 14 Dec 2007 18:57:41 +0000 Subject: [PATCH] compiler warning --- panda/src/pgraph/lightAttrib.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgraph/lightAttrib.cxx b/panda/src/pgraph/lightAttrib.cxx index 5ff6e304a9..0558386cb8 100644 --- a/panda/src/pgraph/lightAttrib.cxx +++ b/panda/src/pgraph/lightAttrib.cxx @@ -522,7 +522,7 @@ filter_to_max(int max_lights) const { CompareLightPriorities()); // Now lop off all of the lights after the first max_lights. - if (priority_lights.size() > max_lights) { + if ((int)priority_lights.size() > max_lights) { priority_lights.erase(priority_lights.begin() + max_lights, priority_lights.end()); }