Index: /issm/trunk-jpl/src/c/classes/matrix/Matrix.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/matrix/Matrix.cpp	(revision 12850)
+++ /issm/trunk-jpl/src/c/classes/matrix/Matrix.cpp	(revision 12851)
@@ -304,5 +304,5 @@
 void Matrix::Convert(MatrixType type){
 
-	if(type==PetscMatType){
+	if((int)type==(int)PetscMatType){
 		#ifdef _HAVE_PETSC_
 		this->pmatrix->Convert(type);
@@ -311,5 +311,5 @@
 		#endif
 	}
-	else if(type==SeqMatType){
+	else if((int)type==(int)SeqMatType){
 		this->smatrix->Convert(type);
 	}
