summarylogtreecommitdiffstats
path: root/zero-length_array.diff
diff options
context:
space:
mode:
Diffstat (limited to 'zero-length_array.diff')
-rw-r--r--zero-length_array.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/zero-length_array.diff b/zero-length_array.diff
new file mode 100644
index 00000000000..d9f37186b8d
--- /dev/null
+++ b/zero-length_array.diff
@@ -0,0 +1,11 @@
+--- mathmap-1.3.5/drawable.h 2009-08-23 13:56:14.000000000 +0200
++++ mathmap-1.3.5.new/drawable.h 2018-04-01 21:59:30.774269173 +0200
+@@ -105,7 +105,7 @@ typedef struct _image_t
+ mathmap_pools_t *pools;
+ void *xy_vars;
+ int num_args;
+- userval_t args[];
++ userval_t args[0];
+ } closure;
+ struct {
+ float ax;