diff --git a/Solver/linearSystemPETSc.hpp b/Solver/linearSystemPETSc.hpp
index 497fa9d6b9c309908f3221f966e6024272117ee2..37fd9dcf09264e8b8106b153861f02ff9bfa0bfd 100644
--- a/Solver/linearSystemPETSc.hpp
+++ b/Solver/linearSystemPETSc.hpp
@@ -5,7 +5,7 @@
 #include "linearSystemPETSc.h"
 
 #if ((PETSC_VERSION_RELEASE == 0) || ((PETSC_VERSION_MAJOR == 3) && (PETSC_VERSION_MINOR >= 7)))
-#define PetscOptionsGetInt(A, B, C, D) PetscOptionsGetInt(NULL, A, B, C, D);
+#define PetscOptionsGetInt(A, B, C, D) PetscOptionsGetInt(NULL, A, B, C, D)
 #define PetscOptionsInsertString(A) PetscOptionsInsertString(NULL, A)
 #endif