use proper format for double precision variable in scanf
This commit is contained in:
1 parent
9af4f39658
commit
ec76f36f4c
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user