summaryrefslogtreecommitdiff
path: root/order.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'order.cpp')
-rw-r--r--order.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/order.cpp b/order.cpp
index 22e08f6..f43a2a3 100644
--- a/order.cpp
+++ b/order.cpp
@@ -16,7 +16,7 @@ int main(int argc, char* argv[]) {
n = atoi(optarg);
break;
case 'm':
- m = atoi(optarg);
+ m = (unsigned)atof(optarg);
break;
default:
exit(1);