]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coverity
authorphille <phille@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 27 Mar 2011 11:15:50 +0000 (11:15 +0000)
committerphille <phille@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 27 Mar 2011 11:15:50 +0000 (11:15 +0000)
HLT/CALO/AliHLTCaloMapper.h

index 030936f6b9319902f8385bc04a63f4411b5edca3..ad2ab73832352b2bebee055a9f255f124d249900 100644 (file)
@@ -29,6 +29,8 @@
 #include "AliHLTLogging.h"
 #include "AliHLTCaloConstantsHandler.h"
 
+#define FILEPATHMAXLENGTH 1024
+
 class AliHLTCaloCoordinate;
 
 class AliHLTCaloMapper : public AliHLTCaloConstantsHandler, public AliHLTLogging
@@ -71,7 +73,7 @@ public:
 
   fAltromap *fHw2geomapPtr; //pointer to structure holding information about geometrical address 
 
-  char fFilepath[1024];
+  char fFilepath[FILEPATHMAXLENGTH];
 
 protected:
   float fCellSize;