improve resize flash operation, fixup xv grab/ungrab, fixup label updates
[goodguy/history.git] / cinelerra-5.1 / cinelerra / vattachmentpoint.C
index 062db5bb826567ff27ff2d9f1782c8253a1529f6..ce787f83a65ddc725f1d59328e347c023ed5e4c5 100644 (file)
@@ -46,7 +46,7 @@ VAttachmentPoint::~VAttachmentPoint()
 
 void VAttachmentPoint::delete_buffer_vector()
 {
-       if(!this) printf("VAttachmentPoint::delete_buffer_vector NULL\n");
+       if(!(void *)this) printf("VAttachmentPoint::delete_buffer_vector NULL\n");
        if(buffer_vector)
        {
                for(int i = 0; i < virtual_plugins.total; i++)
@@ -58,7 +58,7 @@ void VAttachmentPoint::delete_buffer_vector()
 
 void VAttachmentPoint::new_buffer_vector(int width, int height, int colormodel)
 {
-       if(!this) printf("VAttachmentPoint::new_buffer_vector NULL\n");
+       if(!(void *)this) printf("VAttachmentPoint::new_buffer_vector NULL\n");
        if(buffer_vector &&
                (width != buffer_vector[0]->get_w() ||
                height != buffer_vector[0]->get_h() ||
@@ -94,7 +94,7 @@ void VAttachmentPoint::render(VFrame *output,
        int debug_render,
        int use_opengl)
 {
-       if(!this) printf("VAttachmentPoint::render NULL\n");
+       if(!(void *)this) printf("VAttachmentPoint::render NULL\n");
        if(!plugin_server || !plugin->on) return;
 
        if(debug_render)