Index: trunk/MagicSoft/Mars/mdata/MDataMember.cc
===================================================================
--- trunk/MagicSoft/Mars/mdata/MDataMember.cc	(revision 2573)
+++ trunk/MagicSoft/Mars/mdata/MDataMember.cc	(revision 2710)
@@ -63,4 +63,9 @@
     fCall   = call;
 
+    if (fCall->ReturnType()==TMethodCall::kLong)
+        SetBit(kIsInt);
+    else
+        ResetBit(kIsInt);
+
     fDataMember = (TString)obj->GetName() + "." + call->GetName();
 }
@@ -77,4 +82,9 @@
     fObject = obj;
     fCall   = obj->GetterMethod(call);
+
+    if (fCall->ReturnType()==TMethodCall::kLong)
+        SetBit(kIsInt);
+    else
+        ResetBit(kIsInt);
 
     fDataMember = (TString)obj->GetName() + "." + call;
Index: trunk/MagicSoft/Mars/mdata/MDataMember.h
===================================================================
--- trunk/MagicSoft/Mars/mdata/MDataMember.h	(revision 2573)
+++ trunk/MagicSoft/Mars/mdata/MDataMember.h	(revision 2710)
@@ -20,4 +20,6 @@
     TMethodCall   *fCall;
 
+    enum { kIsInt = BIT(14) };
+
 public:
     MDataMember(const char *member=NULL) : fObject(NULL), fCall(NULL)
@@ -39,4 +41,6 @@
     TString GetDataMember() const;
 
+    Bool_t IsInt() const { return TestBit(kIsInt); }
+
     ClassDef(MDataMember, 1) // MData object corresponding to a single data member of a Mars container
 };
