shithub: rott

Download patch

ref: 7737cfba6f6e13dcb5e3b4214ad308137a24eabc
parent: 89e9b7fe13f9a710e5dcdce395428990ee00a9a3
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 07:09:22 EDT 2018

Fixing the Wpedantic warning about zero-size array in rt_net.h by using a "flexible array member"

--- a/rott/rt_net.h
+++ b/rott/rt_net.h
@@ -101,7 +101,7 @@
     short momy;
     word  dangle;
     word  buttons;
-    char  Sounddata[0];
+    char  Sounddata[];
 } MoveType;
 
 typedef struct NullMoveType {