aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/cycling74/max/MaxObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/cycling74/max/MaxObject.java')
-rw-r--r--src/java/com/cycling74/max/MaxObject.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/cycling74/max/MaxObject.java b/src/java/com/cycling74/max/MaxObject.java
index 15f2a16..5b93bc3 100644
--- a/src/java/com/cycling74/max/MaxObject.java
+++ b/src/java/com/cycling74/max/MaxObject.java
@@ -863,7 +863,7 @@ public class MaxObject {
} catch (NoSuchMethodException e) {
try {
Constructor c = clz.getConstructor(argType);
- obj = (MaxObject) c.newInstance(new Object[0]);
+ obj = (MaxObject) c.newInstance((Object[]) new Object[0]);
} catch ( Exception e1 ) {
popPdjPointer();
throw e1;