commit 305ab92c7f697f1198c928b26e852b8d9fb2be71
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Tue May 9 18:49:45 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Tue May 9 18:49:45 2017 +0200
Add padding to struct stream
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/src/stream.h b/src/stream.h
index 280dde1..238f026 100644
--- a/src/stream.h
+++ b/src/stream.h
_AT_@ -1,4 +1,5 @@
/* See LICENSE file for copyright and license details. */
+#include <limits.h>
#include <stddef.h>
#include <stdio.h>
_AT_@ -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];
Received on Tue May 09 2017 - 20:08:06 CEST
This archive was generated by hypermail 2.3.0
: Tue May 09 2017 - 20:12:17 CEST