From 797c209dfe97c6f0a178b259d522d23894b93143 Mon Sep 17 00:00:00 2001 From: David Hilvert Date: Sun, 30 Aug 2009 10:44:10 +0000 Subject: [PATCH] src/trans: Add type to Q() macro invocations. --- src/trans.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/trans.c b/src/trans.c index 58b76f0..6277996 100644 --- a/src/trans.c +++ b/src/trans.c @@ -50,12 +50,12 @@ ale_trans ale_new_trans(ale_context ac, ale_image ai) { if (!ale_trans_valid(at)) return N(ale_trans); - Q(at)->width = ale_image_get_width(ai); - Q(at)->height = ale_image_get_height(ai); - Q(at)->exposure = 1.0; - Q(at)->gamma = 0.45; - Q(at)->black = 0.0; - Q(at)->ac = ac; + Q(ale_trans, at)->width = ale_image_get_width(ai); + Q(ale_trans, at)->height = ale_image_get_height(ai); + Q(ale_trans, at)->exposure = 1.0; + Q(ale_trans, at)->gamma = 0.45; + Q(ale_trans, at)->black = 0.0; + Q(ale_trans, at)->ac = ac; return at; } -- 2.11.4.GIT