From 4686fa3b97dc087e142ffd82a9920a6f6d54d591 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Mon, 15 Jul 2013 15:32:08 -0700 Subject: [PATCH] Revert "Fixed Error that prevented NPM install on mac." This reverts commit 92d8e84a6d5644e445f5a16242413f4fcb1d9545. incorrect --- src/Image.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Image.cc b/src/Image.cc index 6b41815..0aef93a 100644 --- a/src/Image.cc +++ b/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, (int*) i)) == NULL) + if ((gif = DGifOpen((void*) &gifd, read_gif_from_memory)) == NULL) return CAIRO_STATUS_READ_ERROR; if (GIF_OK != DGifSlurp(gif)) {