[arrayfire] 187/248: Fix comparison warning
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 804651a4d34ddc139248f12f91054a14775b084d
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Tue Nov 3 16:30:25 2015 -0500
Fix comparison warning
---
src/api/c/surface.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/c/surface.cpp b/src/api/c/surface.cpp
index 0ac74c5..835849d 100644
--- a/src/api/c/surface.cpp
+++ b/src/api/c/surface.cpp
@@ -105,7 +105,7 @@ af_err af_draw_surface(const af_window wind, const af_array xVals, const af_arra
DIM_ASSERT(1, X_dims == Y_dims);
DIM_ASSERT(3, Y_dims == S_dims);
}else{
- DIM_ASSERT(3, ( X_dims[0] * Y_dims[0] == Sinfo.elements()));
+ DIM_ASSERT(3, ( X_dims[0] * Y_dims[0] == (dim_t)Sinfo.elements()));
}
fg::Window* window = reinterpret_cast<fg::Window*>(wind);
--
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