squelch compiler warnings
This commit is contained in:
parent
29f35eb5bd
commit
e01f373b7a
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue