Skip to content

Commit

Permalink
Fix to work on Lua52
Browse files Browse the repository at this point in the history
  • Loading branch information
nagadomi committed Mar 2, 2017
1 parent 1cc229d commit ff30c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Image.lua
Expand Up @@ -628,7 +628,7 @@ function Image:colorspace(colorspace)
return self
else
-- Get format:
colorspace = tonumber(ffi.cast('double', clib.MagickGetImageColorspace(self.wand)))
colorspace = tonumber(clib.MagickGetImageColorspace(self.wand))

colorspace = colorspaces[colorspace]
end
Expand Down

0 comments on commit ff30c1f

Please sign in to comment.