From 154d3af0dcfc2e9f3b8826a1d90fd069efd6f271 Mon Sep 17 00:00:00 2001
From: Gabriel Studer <gabriel.studer@unibas.ch>
Date: Mon, 30 Mar 2015 11:22:05 +0200
Subject: [PATCH] silence compiler warnings

---
 modules/mol/mm/src/heuristic_block_modifiers.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/mol/mm/src/heuristic_block_modifiers.hh b/modules/mol/mm/src/heuristic_block_modifiers.hh
index 457a2d85d..14fa60457 100644
--- a/modules/mol/mm/src/heuristic_block_modifiers.hh
+++ b/modules/mol/mm/src/heuristic_block_modifiers.hh
@@ -60,13 +60,13 @@ public:
         anchor_atom_names_.push_back(loaded_string);
 
         antecedent_names_.push_back(std::vector<String>());
-        for(uint j = 0; j < num_antecendents; ++j){
+        for(int j = 0; j < num_antecendents; ++j){
           ds & loaded_string;
           antecedent_names_[i].push_back(loaded_string);
         }
 
         hydrogen_names_.push_back(std::vector<String>());
-        for(uint j = 0; j < num_hydrogens; ++j){
+        for(int j = 0; j < num_hydrogens; ++j){
           ds & loaded_string;
           hydrogen_names_[i].push_back(loaded_string);
         }
@@ -79,7 +79,7 @@ public:
 
       ds & num_anchor_atoms;
 
-      for(uint i = 0; i < num_anchor_atoms; ++i){
+      for(int i = 0; i < num_anchor_atoms; ++i){
 
         num_antecendents = antecedent_names_[i].size();
         num_hydrogens = hydrogen_names_[i].size();
-- 
GitLab