summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libs/client/OSCEngineSender.cpp2
-rw-r--r--src/libs/gui/NodeModule.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/client/OSCEngineSender.cpp b/src/libs/client/OSCEngineSender.cpp
index cadb962c..78c7ab8c 100644
--- a/src/libs/client/OSCEngineSender.cpp
+++ b/src/libs/client/OSCEngineSender.cpp
@@ -363,7 +363,7 @@ OSCEngineSender::set_port_value(const string& port_path,
port_path.c_str(),
*(float*)data);
} else {
- lo_blob b = lo_blob_new(data_size, data);
+ lo_blob b = lo_blob_new(data_size, (void*)data);
lo_send(_engine_addr, "/ingen/set_port_value", "isb",
next_id(),
port_path.c_str(),
diff --git a/src/libs/gui/NodeModule.cpp b/src/libs/gui/NodeModule.cpp
index 4d7770ba..f9d34af0 100644
--- a/src/libs/gui/NodeModule.cpp
+++ b/src/libs/gui/NodeModule.cpp
@@ -122,7 +122,7 @@ NodeModule::embed_gui(bool embed)
cerr << "Size request: " << r.width << "x" << r.height << endl;
_width = max(_width, (double)r.width);
_height = max(_height, (double)r.height);
- _gui_item->property_width() = _width;
+ _gui_item->property_width() = _width - 2;
_gui_item->property_height() = _height;
_gui_item->raise_to_top();
_ports_y_offset = _height + 2;