diff options
-rw-r--r-- | order.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |