From ec76f36f4c221226e44ea52cc6ef8151cc2de2da Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 6 Aug 1999 00:30:39 +0000 Subject: [PATCH] use proper format for double precision variable in scanf --- src/cas/example/simple/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cas/example/simple/main.cc b/src/cas/example/simple/main.cc index cea1db4dd..5fbfa3162 100644 --- a/src/cas/example/simple/main.cc +++ b/src/cas/example/simple/main.cc @@ -22,7 +22,7 @@ extern int main (int argc, const char **argv) if (sscanf(argv[i], "-d\t%u", &debugLevel)==1) { continue; } - if (sscanf(argv[i],"-t %f", &executionTime)==1) { + if (sscanf(argv[i],"-t %lf", &executionTime)==1) { forever = aitFalse; continue; }