summaryrefslogtreecommitdiffstats
path: root/libdimension/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/png.c')
-rw-r--r--libdimension/png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/png.c b/libdimension/png.c
index b83aaf6..c33ad91 100644
--- a/libdimension/png.c
+++ b/libdimension/png.c
@@ -98,7 +98,7 @@ dmnsn_future *
dmnsn_png_read_canvas_async(dmnsn_canvas **canvas, FILE *file)
{
dmnsn_future *future = dmnsn_new_future();
- dmnsn_png_read_payload *payload = DMNSN_MALLOC(dmnsn_png_write_payload);
+ dmnsn_png_read_payload *payload = DMNSN_MALLOC(dmnsn_png_read_payload);
payload->future = future;
payload->canvas = canvas;