diff options
Diffstat (limited to 'libdimension/png.c')
-rw-r--r-- | libdimension/png.c | 2 |
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; |