Index: printing/units.h |
diff --git a/printing/units.h b/printing/units.h |
index 72d2f7cd147294559434f1449668af31ff54279c..0e19d043c83c7bf68f94cc66e78ffe2f8d765d56 100644 |
--- a/printing/units.h |
+++ b/printing/units.h |
@@ -40,7 +40,7 @@ const float kA3WidthInch = 11.69f; |
const float kA3HeightInch = 16.54f; |
// Converts from one unit system to another using integer arithmetics. |
-PRINTING_EXPORT int ConvertUnit(int value, int old_unit, int new_unit); |
+PRINTING_EXPORT int ConvertUnit(double value, int old_unit, int new_unit); |
// Converts from one unit system to another using doubles. |
PRINTING_EXPORT double ConvertUnitDouble(double value, double old_unit, |