summaryrefslogtreecommitdiff
path: root/include/tinyff
diff options
context:
space:
mode:
Diffstat (limited to 'include/tinyff')
-rw-r--r--include/tinyff/common.h2
-rw-r--r--include/tinyff/stream.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/tinyff/common.h b/include/tinyff/common.h
index 3653807..c22f595 100644
--- a/include/tinyff/common.h
+++ b/include/tinyff/common.h
@@ -62,7 +62,7 @@ typedef struct {
typedef struct {
// Debug settings
- ff_stream* ff_debug_stream;
+ ff_stream ff_debug_stream;
ff_flag ff_debug_enabled;
// Allocation
diff --git a/include/tinyff/stream.h b/include/tinyff/stream.h
index 250767e..95c5884 100644
--- a/include/tinyff/stream.h
+++ b/include/tinyff/stream.h
@@ -4,7 +4,7 @@
#include <stddef.h>
-#define FF_NULL_STREAM {0}
+#define FF_NULL_STREAM (ff_stream){0}