From: cvetan Date: Mon, 10 Oct 2011 13:57:38 +0000 (+0000) Subject: Bug fix. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=e64f8759c4fecf8fd879c3a47030198e41e3ab4b;p=u%2Fmrichter%2FAliRoot.git Bug fix. --- diff --git a/VZERO/VZEROPbPbda.cxx b/VZERO/VZEROPbPbda.cxx index 4f00c964cc3..1f4a68e7e99 100644 --- a/VZERO/VZEROPbPbda.cxx +++ b/VZERO/VZEROPbPbda.cxx @@ -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");