use proper scanf format for type double
This commit is contained in:
1 parent
97e28bd97c
commit
c6f2571762
1 file changed
+1
-1
@@ -39,7 +39,7 @@ extern int main (int argc, const char **argv)
|
||||
if (sscanf(argv[i], "-d %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