diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-04-03 21:30:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-04-03 21:30:15 -0400 |
commit | 5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802 (patch) | |
tree | 2b642b87d97ab13b050e1ef9323725c0bbd5b5c6 /libdimension/canvas_pigment.c | |
parent | 7bc2770af08e317b2076540050c68d2de55a11db (diff) | |
download | dimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz |
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'libdimension/canvas_pigment.c')
-rw-r--r-- | libdimension/canvas_pigment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/canvas_pigment.c b/libdimension/canvas_pigment.c index f3fcba4..002cea3 100644 --- a/libdimension/canvas_pigment.c +++ b/libdimension/canvas_pigment.c @@ -51,8 +51,8 @@ dmnsn_pigment * dmnsn_new_canvas_pigment(dmnsn_canvas *canvas) { dmnsn_pigment *pigment = dmnsn_new_pigment(); - pigment->pigment_fn = &dmnsn_canvas_pigment_fn; - pigment->free_fn = &dmnsn_canvas_pigment_free_fn; + pigment->pigment_fn = dmnsn_canvas_pigment_fn; + pigment->free_fn = dmnsn_canvas_pigment_free_fn; pigment->ptr = canvas; return pigment; } |