summaryrefslogtreecommitdiffstats
path: root/libdimension/png.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-05-06 21:28:37 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-05-06 21:28:37 -0400
commitd11046a00894d1b353eddde51c395541a6eb3c50 (patch)
tree18fb972a356bf64653c5527eb888cabe918f96d6 /libdimension/png.c
parentef98e35c9c44148611aa2c23325431d19405c781 (diff)
downloaddimension-d11046a00894d1b353eddde51c395541a6eb3c50.tar.xz
png: Fix a trivial bug found by the last commit.
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;