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/solid_pigment.c | |
parent | 7bc2770af08e317b2076540050c68d2de55a11db (diff) | |
download | dimension-5a535f9fac3f4b82f0b154b4c81fd1e2a8d62802.tar.xz |
Don't use awkward (*fptr)() syntax.
Diffstat (limited to 'libdimension/solid_pigment.c')
-rw-r--r-- | libdimension/solid_pigment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/solid_pigment.c b/libdimension/solid_pigment.c index 8d0c27e..f53c5dc 100644 --- a/libdimension/solid_pigment.c +++ b/libdimension/solid_pigment.c @@ -43,8 +43,8 @@ dmnsn_new_solid_pigment(dmnsn_color color) dmnsn_color *solid = dmnsn_malloc(sizeof(dmnsn_color)); *solid = color; - pigment->pigment_fn = &dmnsn_solid_pigment_fn; - pigment->free_fn = &dmnsn_free; + pigment->pigment_fn = dmnsn_solid_pigment_fn; + pigment->free_fn = dmnsn_free; pigment->quick_color = color; pigment->ptr = solid; |