]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix.
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Oct 2011 13:57:38 +0000 (13:57 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Oct 2011 13:57:38 +0000 (13:57 +0000)
VZERO/VZEROPbPbda.cxx

index 4f00c964cc37af3ee453271a5d7c548e4d9ca727..1f4a68e7e990ed83e9e9f8c1a8eee3e23d589d43 100644 (file)
@@ -79,7 +79,7 @@ int main(int argc, char **argv) {
   } else {
     /* open the config file and retrieve cuts */
     FILE *fpConfig = fopen("V00DAEqualFactors.config","r");
-    int res = fscanf(fpConfig,"%d %d %d %d %u %u %d %f",
+    int res = fscanf(fpConfig,"%d %d %d %d %hu %hu %d %f",
                     &kStartClock,&kEndClock,&kNPreClocks,&kNPostClocks,&kTriggerAcc,&kTriggerRej,&kNBins,&kRange);
     if(res!=8) {
       printf("Failed to get values from Config file (V00DAEqualFactors.config): wrong file format - 7 integers and 1 float are expected - \n");