aboutsummaryrefslogtreecommitdiff
path: root/lib/fstream
diff options
context:
space:
mode:
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) {