blind

suckless command-line video editing utility
git clone git://git.suckless.org/blind
Log | Files | Refs | README | LICENSE

commit 305ab92c7f697f1198c928b26e852b8d9fb2be71
parent cead472b5459276d3e93b70243a1cb6e77f21b0a
Author: Mattias Andrée <maandree@kth.se>
Date:   Tue,  9 May 2017 18:49:45 +0200

Add padding to struct stream

Signed-off-by: Mattias Andrée <maandree@kth.se>

Diffstat:
Msrc/stream.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/stream.h b/src/stream.h @@ -1,4 +1,5 @@ /* See LICENSE file for copyright and license details. */ +#include <limits.h> #include <stddef.h> #include <stdio.h> @@ -45,6 +46,9 @@ struct stream { size_t pixel_size; char pixfmt[32]; int fd; +#if INT_MAX != LONG_MAX + int padding__; +#endif size_t ptr; size_t xptr; char buf[BUFSIZ];