From 03a4f1a8717b51ffc5582f06365ed992285dbf66 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 26 Jan 2015 23:07:27 +0900 Subject: [PATCH] don't use flexible array member --- extlib/benz/include/picrin/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/benz/include/picrin/proc.h b/extlib/benz/include/picrin/proc.h index ebe13a82..edf128ae 100644 --- a/extlib/benz/include/picrin/proc.h +++ b/extlib/benz/include/picrin/proc.h @@ -20,7 +20,7 @@ struct pic_env { pic_value *regs; int regc; struct pic_env *up; - pic_value storage[]; + pic_value storage[1]; }; struct pic_proc {