--- freeimage.c.orig	2010-01-13 22:48:39.000000000 +0100
+++ freeimage.c	2010-01-13 22:49:08.000000000 +0100
@@ -1828,7 +1828,7 @@
 	if (zend_parse_parameters(argc TSRMLS_CC, "lsbb|b", &fif, &filename, &filename_len, &create_new, &read_only, &keep_cache_in_memory) == FAILURE) 
 		return;
 	multibitmap = (FIMULTIBITMAP *)emalloc(sizeof(FIMULTIBITMAP));
-	multibitmap = FreeImage_OpenMultiBitmap((FREE_IMAGE_FORMAT)fif, filename, create_new, read_only, keep_cache_in_memory);
+	multibitmap = FreeImage_OpenMultiBitmap((FREE_IMAGE_FORMAT)fif, filename, create_new, read_only, keep_cache_in_memory, /* int flags FI_DEFAULT(0) */ 0);
 	if (multibitmap != NULL) {
 		ZEND_REGISTER_RESOURCE(return_value, multibitmap, le_freeimage_multibitmap);
 	} else {
