squelch compiler warnings

This commit is contained in:
David Rose 2005-05-18 16:59:21 +00:00
parent 29f35eb5bd
commit e01f373b7a
2 changed files with 2 additions and 2 deletions

View File

@ -362,7 +362,7 @@ expose_event_impl(GdkEventExpose *event) {
gint GtkStatsStripChart::
button_press_event_impl(GdkEventButton *button) {
if (button->type == GDK_2BUTTON_PRESS && button->button == 1) {
int collector_index = get_collector_under_pixel(button->x, button->y);
int collector_index = get_collector_under_pixel((int)button->x, (int)button->y);
collector_picked(collector_index);
return true;
}

View File

@ -321,7 +321,7 @@ read_surface_color(MayaShader *shader, MObject color, bool trans) {
MFnDependencyNode layered_fn(color);
MPlugArray color_pa;
MStatus status = layered_fn.getConnections(color_pa);
layered_fn.getConnections(color_pa);
maya_cat.debug() << "number of connections: " << color_pa.length() << endl;
bool first = true;
for (size_t i=0; i<color_pa.length(); ++i) {