From 6d741d6b8467f5e479fc5640b7f3a585faa53db8 Mon Sep 17 00:00:00 2001 From: Thomas Feuvrier <thomas.feuvrier@c-s.fr> Date: Thu, 25 Oct 2007 12:42:16 +0000 Subject: [PATCH] Corerction warning : replace unsigned int par long int dasn boucle for. --- Code/Learning/otbSVMModel.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Learning/otbSVMModel.txx b/Code/Learning/otbSVMModel.txx index 59766b00b0..75dfa15c49 100644 --- a/Code/Learning/otbSVMModel.txx +++ b/Code/Learning/otbSVMModel.txx @@ -85,7 +85,7 @@ SVMModel<TInputPixel, TLabel> delete [] m_XSpace; m_XSpace = new struct svm_node[elements]; - for(unsigned int i = 0;i<elements;++i) + for(long int i = 0;i<elements;++i) { m_XSpace[i].value = 0; m_XSpace[i].index = -1; -- GitLab