Browse Source

Merge pull request #270 from matthewborden/master

Image.cc error when compiled on OS X, fixed but needs to be merged to the NPM repo.
v1.x
TJ Holowaychuk 12 years ago
parent
commit
c8b26cab4b
  1. 2
      src/Image.cc

2
src/Image.cc

@ -508,7 +508,7 @@ Image::loadGIFFromBuffer(uint8_t *buf, unsigned len) {
gif_data_t gifd = { buf, len, 0 };
if ((gif = DGifOpen((void*) &gifd, read_gif_from_memory)) == NULL)
if ((gif = DGifOpen((void*) &gifd, read_gif_from_memory, (int*) i)) == NULL)
return CAIRO_STATUS_READ_ERROR;
if (GIF_OK != DGifSlurp(gif)) {

Loading…
Cancel
Save