[arrayfire] 188/248: Compilation fix for non-imageio builds

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Nov 17 15:54:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.

commit 04153f97cec97c1227dcb8dcee898f94b855c06e
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Tue Nov 3 16:31:13 2015 -0500

    Compilation fix for non-imageio builds
---
 src/api/c/imageio2.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/c/imageio2.cpp b/src/api/c/imageio2.cpp
index c40d237..36df317 100644
--- a/src/api/c/imageio2.cpp
+++ b/src/api/c/imageio2.cpp
@@ -375,7 +375,7 @@ af_err af_save_image_t(const char* filename, const af_array in)
 #else   // WITH_FREEIMAGE
 #include <af/image.h>
 #include <stdio.h>
-af_err af_load_image_t(af_array *out, const char* filename, const bool isColor)
+af_err af_load_image_t(af_array *out, const char* filename)
 {
     printf("Error: Image IO requires FreeImage. See https://github.com/arrayfire/arrayfire\n");
     return AF_ERR_NOT_CONFIGURED;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list