Index: /trunk/Mars/fact/analysis/gain/extract_singles.C
===================================================================
--- /trunk/Mars/fact/analysis/gain/extract_singles.C	(revision 19830)
+++ /trunk/Mars/fact/analysis/gain/extract_singles.C	(revision 19831)
@@ -655,6 +655,4 @@
     // ======================================================
 
-    return 0;
-
     MDirIter iter;
 
@@ -753,5 +751,5 @@
     MH::SetPalette();
 
-    MContinue cont("(MRawEvtHeader.GetTriggerID&0xff00)!=0x100", "SelectCal");
+    MContinue cont("(int(MRawEvtHeader.GetTriggerID)&0xff00)!=0x100", "SelectCal");
 
     MGeomApply apply;
