]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCConfigParser.cxx
Warning removal (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCConfigParser.cxx
index caa4c94ae6eca3e4896eaddaed4af59d67645ffb..dc22b8dba84ea20185e2f47fb7070692540ae6a9 100644 (file)
@@ -180,7 +180,7 @@ const char* AliTPCConfigParser::GetData(const char *key, UInt_t position)
   //Get value for the speciefied key
   //
   TObjArray *arr=((TObjArray*)fConfigMap->FindObject(key));
-  if (position>=arr->GetEntries()) return "";
+  if (position>=(UInt_t)(arr->GetEntries())) return "";
   TObject *val=arr->At(position);
   if ( !val ) return "";
   return (((TObjString*)val)->GetString()).Data();
@@ -203,7 +203,7 @@ const char* AliTPCConfigParser::GetData(const TObject *key, UInt_t position)
   //Get value for the speciefied key
   //
   TObjArray *arr=((TObjArray*)fConfigMap->FindObject(key));
-  if (position>=arr->GetEntries()) return "";
+  if (position>=((UInt_t)arr->GetEntries())) return "";
   TObject *val=arr->At(position);
   if ( !val ) return "";
   return (((TObjString*)val)->GetString()).Data();