summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pikul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pikul.c b/pikul.c
index 6ca3ddf..78ec3d6 100644
--- a/pikul.c
+++ b/pikul.c
@@ -302,7 +302,7 @@ char *pikul_shopify(char *origins[], char *destinations[], long grams)
continue;
}
services[company] = pikul_services(company, origins[company],
- destinations[company], (double)(grams / 1000));
+ destinations[company], (double)grams / 1000.0);
}
static const char *prefix = "{\"rates\":[";
const size_t prefix_len = strlen(prefix);