From 57c28426ba916f0cc0be941070ef3a9e34f6578b Mon Sep 17 00:00:00 2001
From: "tomas@poseidon.ndb.mysql.com" <>
Date: Tue, 18 Jan 2005 14:46:24 +0100
Subject: [PATCH] compile error fix

---
 ndb/src/ndbapi/NdbDictionaryImpl.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ndb/src/ndbapi/NdbDictionaryImpl.cpp b/ndb/src/ndbapi/NdbDictionaryImpl.cpp
index 7107f109e94..4c53ac89461 100644
--- a/ndb/src/ndbapi/NdbDictionaryImpl.cpp
+++ b/ndb/src/ndbapi/NdbDictionaryImpl.cpp
@@ -626,7 +626,7 @@ NdbEventImpl::addTableEvent(const NdbDictionary::Event::TableEvent t =  NdbDicti
 }
 
 void
-NdbEventImpl::setDurability(const NdbDictionary::Event::EventDurability d)
+NdbEventImpl::setDurability(NdbDictionary::Event::EventDurability d)
 {
   m_dur = d;
 }
@@ -1361,7 +1361,7 @@ NdbDictInterface::parseTableInfo(NdbTableImpl ** ret,
     }
 
     Uint32 topBit = (1 << 31);
-    for(int i = 31; i>=0; i--){
+    for(i = 31; i>=0; i--){
       if((fragCount & topBit) != 0)
 	  break;
       topBit >>= 1;
-- 
2.30.9