summaryrefslogtreecommitdiff
path: root/lib/fstream
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-03-09 23:32:22 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-03-09 23:32:22 +0100
commit8b0e45bd2cf2ae97d26e7922f9dbf6c9903bb7c6 (patch)
treee6a0e90f5680b550e950a0f106f1cefc3ca07e91 /lib/fstream
parent4e1d9aef948092778ff0559ee8a94d4365dab9cf (diff)
Fix: Windows: libfstream: allocation size of stdout stream struct
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstream')
-rw-r--r--lib/fstream/win32/ostream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstream/win32/ostream.c b/lib/fstream/win32/ostream.c
index 61dae37..2bd78c8 100644
--- a/lib/fstream/win32/ostream.c
+++ b/lib/fstream/win32/ostream.c
@@ -181,7 +181,7 @@ fail_free:
ostream_t *ostream_open_stdout(void)
{
- ostream_t *strm = calloc(1, sizeof(strm));
+ ostream_t *strm = calloc(1, sizeof(*strm));
sqfs_object_t *obj = (sqfs_object_t *)strm;
if (strm == NULL) {